Here is my problem:
I have RadWindow with NavigateUrl
I pass the parameter "hack" to the navigate page.
On this page i have LINQ querry to get info about this driver in Page_Load().
then I set the Selected Value in RadComboBox according to the LINQ querry
And now my problems start. I have "Save" button. When i change value in RadComboBox and click "Save" i still have predefined value. So
no changes are done.
If I Don't set the driver's medallion in Page_Load() everything works fine! after selecting new item in ComboBox I have new "selected value" in SaveButton_Click.
Any ideas???
I have RadWindow with NavigateUrl
function
ShowDriverWindow(sender, eventArgs) {
var
hack = "499628";
var
url =
"DriverInfo.aspx?hack="
+ hack;
var
oWnd = radopen(url,
"RadWindowDriverInfo"
);
eventArgs.set_cancel(
true
);
}
I pass the parameter "hack" to the navigate page.
On this page i have LINQ querry to get info about this driver in Page_Load().
var driverInfo = (from dr
in
db.T_DRIVERs
where dr.HACK_ID ==
int
.Parse(hackId)
select
new
{
...
dr.MEDALLION_ID,
...
}).Single();
then I set the Selected Value in RadComboBox according to the LINQ querry
RadComboBoxSteadyMedl.SelectedValue =
driverInfo.MEDALLION_ID.ToString();
And now my problems start. I have "Save" button. When i change value in RadComboBox and click "Save" i still have predefined value. So
no changes are done.
If I Don't set the driver's medallion in Page_Load() everything works fine! after selecting new item in ComboBox I have new "selected value" in SaveButton_Click.
Any ideas???