Hi All,
I am using Master And content page.
In Master page
I have used RadScriptManager,RadAjaxManager and RadAjaxLoadingPanel.
In Content Page
I am using RadTabStrip,RadMultipageView,RadAjaxManagerProxy.
In RadPageView I added RadGrid,RadDatePicker and Button.
I have added ajax setting on RadTabstrip and radMultiPageView control.
On button onClientClick i added javascript function which return true or false according to value of textbox.
Issues
1>On button click it not going to its serverside event ,when clientside function return true.
a> if button is replace with linkbutton then it works.
Ajax setting are folllows
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<ajaxsettings>
<telerik:AjaxSetting AjaxControlID="rtabTemp">
<updatedcontrols>
<telerik:AjaxUpdatedControl ControlID="RadMultiPageMain" />
</updatedcontrols>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadMultiPageMain">
<updatedcontrols>
<telerik:AjaxUpdatedControl ControlID="rtabTemp" />
</updatedcontrols>
</telerik:AjaxSetting>
</ajaxsettings>
</telerik:RadAjaxManagerProxy>
I am using Master And content page.
In Master page
I have used RadScriptManager,RadAjaxManager and RadAjaxLoadingPanel.
In Content Page
I am using RadTabStrip,RadMultipageView,RadAjaxManagerProxy.
In RadPageView I added RadGrid,RadDatePicker and Button.
I have added ajax setting on RadTabstrip and radMultiPageView control.
On button onClientClick i added javascript function which return true or false according to value of textbox.
Issues
1>On button click it not going to its serverside event ,when clientside function return true.
a> if button is replace with linkbutton then it works.
Ajax setting are folllows
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<ajaxsettings>
<telerik:AjaxSetting AjaxControlID="rtabTemp">
<updatedcontrols>
<telerik:AjaxUpdatedControl ControlID="RadMultiPageMain" />
</updatedcontrols>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="RadMultiPageMain">
<updatedcontrols>
<telerik:AjaxUpdatedControl ControlID="rtabTemp" />
</updatedcontrols>
</telerik:AjaxSetting>
</ajaxsettings>
</telerik:RadAjaxManagerProxy>
//ClientSide function call on button onClientclick
function DateValidLst()
{
var SerScheDateLst =document.getElementById('<%=dtpStartDateLst.ClientID %>').value;
if (SerScheDateLst == "") {
alert("You have selected Invalid Date. ");
return false;
}
else
return true;
}