GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

Multicolumn combobox in dynamically loaded user control

Last post 02-08-2010, 7:06 AM by Amit Pal. 14 replies.
Sort Posts: Previous Next
  •  11-05-2009, 4:10 AM 84460

    Multicolumn combobox in dynamically loaded user control

    Hi

     In my application i have all forms as user controls. Iam loading this control dynamically on the form in ajax tabcontainer tab panels on click of menu items. I have this ajax container in updatepanel so the tabs get added without doing form postback.

    My problem is that in one of my form i have farpoint grid in which iam having one column as multicolumn combobox type. when i load this usercontrol on the tab panel the combobox is not getting loaded when i click on the combo column it gives me javascript error "farpoint not defined". When i load the same usercontrol without having update panel it works fine.

     Can u please help me resolve this issue.

     

    Regards
    Ali

    Filed under: ,
  •  11-05-2009, 6:35 AM 84469 in reply to 84460

    Re: Multicolumn combobox in dynamically loaded user control

    Ali,

    As per the error description, it seems it is not able to resolve the Spread's name at client side into an identifiable name, hence it throws the error message. To illustrate the point, by default the name of Spread will be FpSpread1, so if you have not changed it and trying to access the same using Spread1, then you will get the mentioned error message. Just ensure that, name of Spread control is same when you are accessing it at client side. e.g.

    var ss=document.getElementById("FpSpread1")

     


    Suresh Singh Dasila
    GrapeCity FarPoint
  •  11-05-2009, 7:17 AM 84471 in reply to 84469

    Re: Multicolumn combobox in dynamically loaded user control

    Hi suresh

     iam not accessing it on client site. iam attaching the multicolumn combo on page_load of usercontrol. Let me explain again

    1. I am using Usercontrols (ascx). in which i have farpoint grid where iam attaching multicolumn combo
    2. iam loading this usercontrol on my default page in Ajax tab control. iam creating ajax tabs on runtime and loading this usercontrol. 
    3. Now this tab control is in updatepanel to avoid postback. When i remove the updatepanel and postback happens the farpoint grid works fine and combo is attaching properly.

    thanks
    ali
     

     

  •  11-06-2009, 11:21 AM 84529 in reply to 84471

    Re: Multicolumn combobox in dynamically loaded user control

    Hi all

     Can someone help in the above posted issue.

     

    Thanks
    Ali

    Filed under:
  •  11-09-2009, 5:48 AM 84560 in reply to 84529

    Re: Multicolumn combobox in dynamically loaded user control

    Ali,

     

    When you are using the Spread control in an UpdatePanel, then it is advisable to set the EnableAjaxCall property of the Spread to False. The reason being that there is no need to do an AJAX callback from the Spread since the UpdatePanel will facilitate the AJAX call.

    Try setting this property to false and see if it helps.

     

    If the issue persists, then please attach a small sample application so that we can debug this issue further at our end.

     

    Regards,

    Amit


    Amit Pal
    Grapecity-Farpoint
  •  11-09-2009, 11:57 PM 84582 in reply to 84560

    Re: Multicolumn combobox in dynamically loaded user control

    Attachment: MultiColumnCombo.rar

    Hi Amit

    I have allready tried that, but no luck. Just to again bring to your notice iam loading usercontrol dynamically on runtime.
    Attaching here the zip file of the sample project. Please add the ajaxcontrol toolkit and farpoint reference files in bin folder before running the application.

    Will appreciate your earliest response.

    Thanks & Regards
    Ali

  •  11-16-2009, 10:50 AM 84796 in reply to 84582

    Re: Multicolumn combobox in dynamically loaded user control

    Hello,

     

    I have been able to re-create this issue at my end and have entered this in our system as Bug Number 27197.

     

    Regards,

    Amit


    Amit Pal
    Grapecity-Farpoint
  •  11-17-2009, 3:57 AM 84824 in reply to 84796

    Re: Multicolumn combobox in dynamically loaded user control

    Thanks Amit

    I hope the resolution is posted soon.

     

    Regards
    Ali

  •  12-04-2009, 9:11 AM 85366 in reply to 84824

    Re: Multicolumn combobox in dynamically loaded user control

    hi amit

     I hope this has been taken care of and new release has come.

     please advice

  •  12-04-2009, 11:38 AM 85378 in reply to 85366

    Re: Multicolumn combobox in dynamically loaded user control

    Hello,

    The next release of Spread for Web Forms is scheduled in second half of this month.

    Thanks,

     


    Deepak Sharma
    GrapeCity FarPoint
  •  12-10-2009, 6:46 AM 85569 in reply to 85378

    Re: Multicolumn combobox in dynamically loaded user control

    Thanks Deepak

    I look forward for it.

     

    Kind Regards
    Ali

  •  01-07-2010, 7:41 AM 86320 in reply to 85569

    Re: Multicolumn combobox in dynamically loaded user control

    Hi

    Is the problem fixed?

    Have we got the new release ready for download.

     

    Regards
    Ali

  •  01-08-2010, 4:42 AM 86373 in reply to 86320

    Re: Multicolumn combobox in dynamically loaded user control

    Ali,

     

    This has not been resolved yet.

    I will keep you updated on the progress of this issue.


    Amit Pal
    Grapecity-Farpoint
  •  02-04-2010, 5:10 AM 87093 in reply to 86373

    Re: Multicolumn combobox in dynamically loaded user control

    Hi Amit

     Any luck on the resolution of the issue.

     Awaiting since long time.

     regards
    Ali

  •  02-08-2010, 7:06 AM 87137 in reply to 87093

    Re: Multicolumn combobox in dynamically loaded user control

    Ali,

     

    The updated bug number for this issue is 27248. This has already been fixed by the development team and will be part of the fixes for the next maintenance release.


    Amit Pal
    Grapecity-Farpoint
View as RSS news feed in XML
     FarPoint Forums Home