Hi all
i have defined a repeater inside a webpanel and a warp (Repeater -> Web Panel -> Warp) . Everything work fine until I change the values of the web controls inside the repeaters. For example, I have defined a Textbox inside the repeater (named as tbxValue) and a dropdownlist (named as ddlOperator) and if I change the value of the textbox or change the item of the dorpdownlis then, the new value is not reflected. you can see below how I find the control inside the repeater:
ddlRptValue = mandatoryRepeaterItem.FindControl("ddlValue") as DropDownList; tbRptReportParamId = mandatoryRepeaterItem.FindControl("tbReportParamId") as TextBox; tbRptParamName = mandatoryRepeaterItem.FindControl("tbName") as TextBox; ddlRptOperator = mandatoryRepeaterItem.FindControl("ddlOperator") as DropDownList; tbRptValue = mandatoryRepeaterItem.FindControl("tbxValue") as TextBox;
this work perfect, but the original values remains in tbRptValue.Text and in ddlRptOperator.Text or ddlRptOperator.SelectedItem.Text.
the warp is triggered by another webcontrol outside the warp. The webcontrol inside the warp are doing postback as well, but I am not regenerating them in order to maintaing the new value that I specify.
Is this a bug???? Please let me know, I am really stock with this and I need that ASAP. The version of infragistic that I am using is 7.3.20073.1043
When are you doing your databinding? Are you sure the values aren't being rebound to the control when you call back to the server?
Craig
Hi Craig
I do apologize all. I did not realize that I was replacing the repeaters with the session variables in another class for testing purposes and this is why I was always getting the same values. The application is working nicely as I expected. Please omit this case.
And thanks again Craig for replying me.