This is a migrated thread and some comments may be shown as answers.

[Solved] RadGrid Usercontrol Caption lost on postback

4 Answers 153 Views
Grid
This is a migrated thread and some comments may be shown as answers.
XXXX
Top achievements
Rank 1
XXXX asked on 09 Dec 2009, 04:02 PM

In a grid that I'm using I have the following declaration:


<
EditFormSettings CaptionFormatString="Edit detail : {0}"
CaptionDataField="ID" PopUpSettings-Modal="true" EditFormType="WebUserControl"

 UserControlName="editDetail.ascx">  

 

 

</EditFormSettings>
And it works fine as long there are no postbacks within the edit form.
On that usercontrol is a dropdownlist that has OnSelectedIndexChanged event with postback.
When the UserControl has been refreshed the caption is no longer Edit detail : 5 but Edit detail {0}.
Other parts of the usercontrol retain their values .

Yours
    Björn

 

 

 

 

 

 

4 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 14 Dec 2009, 10:52 AM
Hi Bjössi,

We have had similar reports in the past, and it turned out to be an issue with the control. It has, however, been addressed. Can you please download the latest version of the control, and verify whether the issue persists.

All the best,

Yavor
the Telerik team

 


Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
XXXX
Top achievements
Rank 1
answered on 14 Dec 2009, 04:43 PM
I upgraded to RadControls for ASP.NET AJAX 2009.3 1208 .
That changed some things but didn't fix the Caption issue.
Among the changes are that dropdownlist on the UserControl stops working.
Will look better into this and attempt to give better description of the problem(s).
Creating a demo project that show this behavior isn't a trivial task since I'm using a n-tier setup for data access.
Yours
   Björn
0
XXXX
Top achievements
Rank 1
answered on 15 Dec 2009, 11:25 AM
Update:
   When the asp:DropDownList is accesses the drop down list is displayed behind the usercontrol and can´t be selected. For most instances that will look like it's not working.
Aworkaround :
    Use RadComboBox instead of asp:DropDownList as the RadComboBox is not affected.

Yours
   Björn
0
Yavor
Telerik team
answered on 17 Dec 2009, 10:25 AM
Hi Björn,

 Based on the information supplied, it is hard to determine what is causing this behavior. To further track the problem, you can open a formal support ticket, and send us a small working project, demonstrating your setup, and showing the unwanted behavior. We will debug it locally, and get back to you with additional information on the matter.


Sincerely yours,
Yavor
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
XXXX
Top achievements
Rank 1
Answers by
Yavor
Telerik team
XXXX
Top achievements
Rank 1
Share this question
or