protected
void ddlAprv_SelectedIndexChanged1(object o, RadComboBoxSelectedIndexChangedEventArgs e)
{
RadPanelBar attestPanel = (RadPanelBar)formPanel.FindItemByValue("principalForm").FindControl("attestationPanel");
RadNumericTextBox jobPostNo = (RadNumericTextBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("JobPostingNo");
RadComboBox ddlAprvPost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlAprv");
RadComboBox ddlpost = (RadComboBox)attestPanel.FindItemByValue("principalattestaionInfo").FindControl("ddlPost");
if (ddlAprvPost.SelectedValue == "Y")
{
jobPostNo.Enabled =
true;
jobPostNo.Focus();
}
else
{
if (jobPostNo.Text.Length > 0)
{
jobPostNo.Text =
string.Empty;
}
jobPostNo.Enabled =
false;
ScriptManager1.SetFocus(ddlpost.ClientID +
"_Input");
}
}
Focus goes to the next Box and ask to put some numbers.This is working for IE8
But for IE7 focus is lost and form jump right to the top.
Please help me to resolve this issue.
Thanks
<
telerik:RadWindowManager
ID
=
"RadWindowManagerParent"
runat
=
"server"
Animation
=
"None"
OffsetElementID
=
"wrapper"
MinimizeZoneID
=
"DivMinimizeZone"
RestrictionZoneID
=
"TdContent"
EnableTheming
=
"true"
AnimationDuration
=
"250"
DestroyOnClose
=
"true"
EnableShadow
=
"true"
IconUrl
=
"~/Images/Blue/Window_Icon.png"
PreserveClientState
=
"true"
ShowContentDuringLoad
=
"false"
ShowOnTopWhenMaximized
=
"false"
Width
=
"1000"
Height
=
"650"
VisibleStatusbar
=
"false"
ReloadOnShow
=
"true"
KeepInScreenBounds
=
"false"
Style
=
"z-index: 2501;"
Behaviors
=
"Close,Maximize,Minimize,Move,Reload,Resize"
OnClientBeforeClose
=
"RadWindowManagerParentOnClientBeforeClose"
>
<
Windows
>
</
Windows
>
</
telerik:RadWindowManager
>
Hi,
I am using RadTabStrip in master page and binding the data from XML. I am loosing the selected tab state. Below is my Code. Can you plase help me?
HTML :
<%
@ Master Language="C#" AutoEventWireup="true" CodeFile="DealerFinance.master.cs" Inherits="DealerFinance" %>
<%
@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!
DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head runat="server">
<title>Untitled Page</title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
</
head>
<
body>
<form id="form1" runat="server">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<table>
<tr>
<td>
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Font-Size="Small"
height="100%" width="100%" BorderColor="Silver">
<telerik:RadTabStrip ID="rtsDealerMenu" runat="server" Skin="Web20"
BorderWidth="1px" >
</telerik:RadTabStrip>
</telerik:RadAjaxPanel>
</td>
</tr>
<tr>
<td>
<asp:ContentPlaceHolder id="DealerFinancePlaceHolder" runat="server">
</asp:ContentPlaceHolder>
</td>
</tr>
</table>
</form>
</
body>
</
html>
Code behind :
protected
void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(Request.MapPath(
"~/App_Data/Menu.xml"));
rtsDealerMenu.SelectedIndex = 0;
rtsDealerMenu.LoadXml(xmlDoc.OuterXml);
}
//Response.Write(rtsDealerMenu.SelectedTab.Text);
}
XML :
<
TabStrip>
<
Tab Text="Home" ID="1" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" >
</
Tab>
<
Tab Text="Dealer" ID="2" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home1.aspx" />
<
Tab Text="ATPS" ID="3" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home2.aspx" />
<
Tab Text="UCC" ID="4" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home3.aspx" />
<
Tab Text="Collections" ID="5" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home4.aspx" />
<
Tab Text="Assets" ID="6" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Audit" ID="7" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Contact" ID="8" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Payments" ID="9" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Accounts" ID="10" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Admin" ID="11" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" >
<!--
Sub Section for ADMIN Tab Start Here-->
<
Tab Text="Organization" ID="12" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Position" ID="13" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Responsibility" ID="14" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Products" ID="15" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Region/District" ID="16" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Documents" ID="17" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="List Of Values" ID="18" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<
Tab Text="Route" ID="19" Tooltip="" NavigateUrl="/DealerFinanceApplication/Home/Home.aspx" />
<!--
Sub Section for ADMIN Tab Ends Here-->
</
Tab>
</
TabStrip>
Hello,
I have a RadGrid in which i have a textbox in one of the columns and for that textbox i wanted to have a popupcontrol extender with bigger textbox in it.
All i wanted to have is a big textbox which i can't put in the grid row because of its size.
Now the problem is, When i entered text in the textbox within popupcontrolextender, that text is not being saved in to the grid textbox when the popup is closed.
Hope i am making sense.
Appreciate the help
Thanks
Here is the code:
<
telerik:GridTemplateColumn
HeaderText
=
"Income Source"
UniqueName
=
"MemSourceofIncome"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"txtMemSourceofIncome"
runat
=
"server"
CssClass
=
"Text"
ToolTip
=
"Member Source of Income"
Width
=
"80px"
>
</
asp:TextBox
>
<
asp:PopupControlExtender
ID
=
"IncomeSrcPopEx"
runat
=
"server"
TargetControlID
=
"txtMemSourceofIncome"
PopupControlID
=
"IncomeSrcPanel"
Position
=
"Left"
CommitProperty
=
"text"
CommitScript
=
"e.text"
/>
<
asp:Panel
ID
=
"IncomeSrcPanel"
runat
=
"server"
CssClass
=
"PopupModalWindow"
Style
=
"display: none"
>
<
table
>
<
tr
>
<
td
>
<
telerik:RadTextBox
ID
=
"txtIncSrc"
runat
=
"server"
CssClass
=
"Text"
TextMode
=
"MultiLine"
Width
=
"280px"
>
</
telerik:RadTextBox
>
</
td
>
</
tr
>
</
table
>
</
asp:Panel
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>