We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Control is initialized twice in GGC

Hi ,

I have a nested dropdown inside on of the cell of the ggc.
Whenever i enter edit mode and change the selected value (autopostback="true") the dropdonw goes twice whough contol life cycle init load databing and again. The problem is that during second cycle I no longer have the control's view state.

I've attached a sample code.



WebApplication2_f15175e2.rar

3 Replies

RP Rekha P Syncfusion Team July 6, 2009 10:06 AM UTC

Hi Eran,

Thank you for your interest in Syncfusion Products.

I am afraid that I am not able to reproduce this issue. Also I have created a simple sample to test this issue and it is available in the below link:
http://files.syncfusion.com/support/GGC.Web/7.2.0.20/F84739/Sample.zip

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Please let me know if you have any other concerns.

Thanks,
Rekha


RG Ruslan Gasanbekov July 6, 2009 10:38 AM UTC

Hello,

10x for the reply.

Use the same code you've sent me:

1.Insert break point at this function

public void DropDownListRegion_Init(object i_Sender, EventArgs i_Args)
{
DropDownList dropDownListRegions = i_Sender as DropDownList;
}

2.Click a row and enter edit mode.
4.break point should be hit one time.
3.Change the value inside the DropDownListRegion
4.see that break point is hit two times.

10x.






BM Balaji M Syncfusion Team July 11, 2009 09:16 AM UTC

Hi Ruslan,

Please refer incident #57672 to keep track of this issue.

Regards,
M. Balaji

Loader.
Live Chat Icon For mobile
Up arrow icon