Hi,
i'm trying WebDropdown. My wanted test : WebDropDown with DataTable binding on serverside + Paging + Filtering (contains).
WebDropDown has
EnableViewState set to TrueAutopostback set to trueEvent SelectionChanged set to a function
DataSource is bound in Page_load when IsPostback=false
So here my states :
- WebDropDown is well filled but paging stay on first page whatever #page I choose- Selection is working- Filtering does'nt work @ all
if I bind Datasource whatever PostBack is set, so :
- Paging is working but it selects the first item and fires event (Why ? oO)- Selection is working but WebDropDown is reset (logical because DataSource is rebound)- if I type a text to filter , WebDropDown is reset because an event is fired but I don't know what event.
How to use WebDropDown like I want ?
Thanks
You can refer to this sample:
http://samples.infragistics.com/2010.3/WebFeatureBrowser/contents.aspx?showCode=true&t=WebDropDown/ProgramaticDataBinding/WebDropDown_DataTable.aspx~srcview.aspx?path=~srcview.aspx?path=WebDropDown/ProgramaticDataBinding/WebDropDown_DataTable.src
Let me know if it helps.
Angel
Thanks but I've already run all samples about WebDropDown but any of them combine all of options.
The sample you gave me only shows how to bind with a DataTable and paging. If we add Filtering & Server Click in this sample, problems occur as described above.
Also can we use this with a HtmlHelper?
Can you please tell me how you get ig:WebDropDown to resolve? For me I cannot get my markup to recognise ig:
Many thanks,
Kevin
if you have postback on selection, and filtering at the same time, it could lead to some unexpected behaviors since both selection and filtering are going to trigger a postback - as soon as you type a letter, selection could change.
Could you try setting AutoSelectOnMatch to false ?
Thanks,
Hello UCF_user ,
Can you please provide us with a sample or code snippet reproducing the issue?
Hope hearing from you.
I added AutoPostBackFlags-ValueChanged="Off" to WebDropDown and it's better but Filtering is still not working. A javascript error occurs :
"this._manager._control._id is null"