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

Capture Events EditFormSettings Template

1 Answer 70 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ramjet
Top achievements
Rank 1
Ramjet asked on 03 May 2010, 07:01 PM
Hello,

I am using a RadGrid and when the user selects to add a new row I am using the EditFormSettings in modal fashion. I then have a RadComboBox that gets populated from a datasource and then some read only asp textboxes. When the users selects from the combobox list of values I would have thought the SelectedIndexChanged event would fire and I could populate the text boxes but it is not to be. Instead what happens is that the ClientSelectedIndexChanged event fires but the serverside never does. I do have AutoPostBack=false as I thought this event should fire without the postback as postback cause me to run through pageLoad? Further I have an Asp button and the onclick there does fire??

Any ideas how / why I am not able to get the slectedindex and query db to populate the read only text boxes?

Thank You
JB

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 May 2010, 11:02 AM
Hello John,

It is not possible to fire OnSelectedIndexChanged event of RadComboBox without setting AutoPostBack property to "true". You can avoid page refresh by ajaxifying the control using RadAjaxManager/AjaxPanel. The following document  will help you for a detailed explanation on RadAjaxManager.
AJAX Manager
AJAX Panel

Regards,
Shinu.
Tags
Grid
Asked by
Ramjet
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or