Hello,
I am a newbie in Telerik products. I am using the trial version. Following is my problem stated:
I am using a RadTabStrip, RadMultipage, LINQ and RadInputboxes like RadTextBox, RadNumericTextBox
When i click an asp:Button in the third tab the form should be posted but i get the values as following:
RadNumericTextBox13.Value = null
RadTextBox3.Text=""
RadTextBox4.Text
Here is my code:
***************************************************************************************************
protected void Button1_Click(object sender, EventArgs e)
{
PayRollDataContext pr2 = new PayRollDataContext();
Bounce bp = new Bounce();
bp.Payroll_ID = current;
bp.Amount = Convert.ToDecimal(RadNumericTextBox13.Value);
bp.Description = RadTextBox3.Text;
bp.Time = RadTextBox4.Text;
pr2.Bounces.InsertOnSubmit(bp);
pr2.SubmitChanges();
RadGrid1.Rebind();
this.Page.DataBind();
}
********************************************************************************************************
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" CssClass="tabStrip"
SelectedIndex="0" Skin="Black" MultiPageID="RadMultiPage1"
ontabclick="RadTabStrip1_TabClick1">
<tabs>
<telerik:RadTab Text="General" Selected="True">
</telerik:RadTab>
<telerik:RadTab Text="Decuts">
</telerik:RadTab>
<telerik:RadTab Text="Bounce">
</telerik:RadTab>
<telerik:RadTab Text="Loans">
</telerik:RadTab>
</tabs>
</telerik:RadTabStrip>
//***************************************************************
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Add"/>
//*************************************************************
<form runat="server" id="mainForm" method="post">
I am a newbie in Telerik products. I am using the trial version. Following is my problem stated:
I am using a RadTabStrip, RadMultipage, LINQ and RadInputboxes like RadTextBox, RadNumericTextBox
When i click an asp:Button in the third tab the form should be posted but i get the values as following:
RadNumericTextBox13.Value = null
RadTextBox3.Text=""
RadTextBox4.Text
Here is my code:
***************************************************************************************************
protected void Button1_Click(object sender, EventArgs e)
{
PayRollDataContext pr2 = new PayRollDataContext();
Bounce bp = new Bounce();
bp.Payroll_ID = current;
bp.Amount = Convert.ToDecimal(RadNumericTextBox13.Value);
bp.Description = RadTextBox3.Text;
bp.Time = RadTextBox4.Text;
pr2.Bounces.InsertOnSubmit(bp);
pr2.SubmitChanges();
RadGrid1.Rebind();
this.Page.DataBind();
}
********************************************************************************************************
<telerik:RadTabStrip ID="RadTabStrip1" runat="server" CssClass="tabStrip"
SelectedIndex="0" Skin="Black" MultiPageID="RadMultiPage1"
ontabclick="RadTabStrip1_TabClick1">
<tabs>
<telerik:RadTab Text="General" Selected="True">
</telerik:RadTab>
<telerik:RadTab Text="Decuts">
</telerik:RadTab>
<telerik:RadTab Text="Bounce">
</telerik:RadTab>
<telerik:RadTab Text="Loans">
</telerik:RadTab>
</tabs>
</telerik:RadTabStrip>
//***************************************************************
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Add"/>
//*************************************************************
<form runat="server" id="mainForm" method="post">