<%
@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
in my project and then try to run the application i get following error.Could anyone please let me know ,is anything am i missing ?
|

We just noticed an issue with radeditor and thought we will report this to you. Please ignore if you are already aware of this.
On IE, while stripping BORDER-RIGHT, BORDER-TOP, BORDER-LEFT, BORDER-BOTTOM properties of the style attribute, editor looses other propeties like float, width, color etc of the Style attribute.
For example, this DIV tag
<div style="BORDER-RIGHT: #e87e7e 2px solid; BORDER-TOP: #e87e7e 2px solid; FLOAT: right;
BORDER-LEFT: #e87e7e 2px solid; WIDTH: 203px; COLOR: #ffffff; BORDER-BOTTOM: #e87e7e 2px solid; BACKGROUND-COLOR: #c80002">
will get converted to
<div style="border: #e87e7e 2px solid; background-color: #c80002;">
Thanks, Lakshman

<telerik:RadWindowManager ID="WinManager" runat="server">
<Windows>
<telerik:RadWindow id="WinAccInfo"
Behaviors="Close"
Skin="Vista"
ReloadOnShow = "true"
ClientCallBackFunction="CallBackFunction"
OnClientshow = "OnClientshow"
OnClientclose = "OnClientclose"
openerElementId = "<%# btnEditAccountInformation.ClientID %>"
OffsetElementId = "<%# lblContactName.ClientID%>"
Left="350px"
Modal = "true"
Runat="server"
Width="400px"
Height="500px"
Title="Account Information"
VisibleStatusbar="false" >
</telerik:RadWindow>
<telerik:RadWindow ID="winPaymentInfo"
Behavior="Close"
Skin="Vista"
ReloadOnShow="true"
ClientCallBackFunction="PaymentInfoCallBack"
OnClientShow="PaymentInfoShow"
OnClientclose = "PaymentOnClientclose"
openerElementId = "<%# btnEditPaymentInformation.ClientID %>"
OffsetElementId = "<%# lblNameOnCard.ClientID%>"
Left="350px"
Modal = "true" Runat="server"
Width="400px"
Height="400px"
Title="Payment Information" VisibleStatusbar="false">
</telerik:RadWindow>
<telerik:RadWindow id="DialogBillingWindow"
Behaviors="Close"
Skin="Vista"
ReloadOnShow = "true"
ClientCallBackFunction="BillingCallBackFunction"
OnClientshow = "OnBillingClientshow"
OnClientclose = "OnClientclose"
openerElementId = "<%# btnEditBillingInformation.ClientID %>"
OffsetElementId = "<%# lblBillingName.ClientID%>"
Left="350px"
Modal = "true"
Runat="server"
Width="400px"
Height="400px"
Title="Billing Information" >
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
the javascript functions to open window are
function showDialog()
{
var oWnd = $find("<%=WinAccInfo.ClientID%>");
var url= "AccountInfoEdit.aspx?oState=" +document.getElementById('<%=lblState.ClientID%>').innerHTML
url= url +
"&ocountry=" + document.getElementById('<%=lblCountry.ClientID%>').innerHTML;
oWnd.setUrl(url);
oWnd.show();
}
function showbillDialog()
{
var oManager = GetRadWindowManager();
var oWnd = oManager.GetWindowByName("DialogBillingWindow");
var url= "BillingInfoEdit.aspx?oState=" +document.getElementById('<%=lblBillingState.ClientID%>').innerHTML;
url= url + "&ocountry=" + document.getElementById('<%=lblBillingCountry.ClientID%>').innerHTML;
oWnd.setUrl(url);
oWnd.show();
}
function showDialogPaymentInfo()
{
var oWnd = $find("<%=winPaymentInfo.ClientID%>");
var url= "PaymentInfoEdit.aspx?expdt=" + document.getElementById('<%=lblExpirationDate.ClientID%>').innerHTML ;
url= url +
"&ccType=" + document.getElementById('<%=lblCardType.ClientID%>').innerHTML
oWnd.setUrl(url);
oWnd.show();
}
i have no issues to open windows and get back the value but when i click on the submit button on parent window to save the information. I am getting the javascript error "Microsoft JScript runtime error: 'parentNode' is null or not an object" .
May i know what may be causing teh issue or how can i solve this issue.
the main goal is to open multiple windows from an aspx page.
Thanks in advance
Parvati

I checked with the direct path instead of item["name"].Text; then also I am getting the same error.
Actually my requitrement is to open that link in the same window.please help me to open the window in both ways.
Thanks
Surya

| <telerik:GridBoundColumn DataField="Dept" HeaderText="Department" SortExpression="Dept" |
| UniqueName="Dept" > |
| <FilterTemplate> |
| <asp:TextBox runat="server" ID="TextBox1" style="display:none;"> |
| </asp:TextBox> |
| <telerik:RadComboBox ID="cboRadDept" DataSourceID="DeptSqlDS" DataTextField="Name" DataValueField="Name" |
| AutoPostBack="True" AppendDataBoundItems="True" Height="100%" Width="170px" |
| SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("Dept").CurrentFilterValue %>' |
| runat="server" OnSelectedIndexChanged="cboRadDept_SelectedIndexChanged" Skin="WebBlue" > |
| <Items> |
| <telerik:RadComboBoxItem /> |
| </Items> |
| </telerik:RadComboBox> |
| </FilterTemplate> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="From" HeaderText="Originator" SortExpression="From" |
| UniqueName="From"> |
| <FilterTemplate> |
| <asp:TextBox runat="server" ID="TextBox2" style="display:none;"> |
| </asp:TextBox> |
| <telerik:RadComboBox ID="cboRadFrom" DataSourceID="FromSqlDS" DataTextField="UserName" DataValueField="UserName" |
| AutoPostBack="True" AppendDataBoundItems="True" |
| SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("From").CurrentFilterValue %>' |
| runat="server" OnSelectedIndexChanged="cboRadFrom_SelectedIndexChanged" Skin="WebBlue"> |
| <Items> |
| <telerik:RadComboBoxItem /> |
| </Items> |
| </telerik:RadComboBox> |
| </FilterTemplate> |
| </telerik:GridBoundColumn> |
| <telerik:GridBoundColumn DataField="Status" HeaderText="Status" SortExpression="Status" UniqueName="Status"> |
| <FilterTemplate> |
| <asp:TextBox runat="server" ID="TextBox3" style="display:none;"> |
| </asp:TextBox> |
| <telerik:RadComboBox ID="cboRadStatus" DataSourceID="StatusSqlDS" DataTextField="Status" DataValueField="Status" |
| AutoPostBack="True" AppendDataBoundItems="True" Height="100%" Width="85px" |
| SelectedValue='<%# TryCast(Container, GridItem).OwnerTableView.GetColumn("Status").CurrentFilterValue %>' |
| runat="server" OnSelectedIndexChanged="cboRadStatus_SelectedIndexChanged" Skin="WebBlue"> |
| <Items> |
| <telerik:RadComboBoxItem /> |
| </Items> |
| </telerik:RadComboBox> |
| </FilterTemplate> |
| </telerik:GridBoundColumn> |
| Protected Sub cboRadDept_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs) |
| Dim filterItem As GridFilteringItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)(0), GridFilteringItem) |
| TryCast(filterItem("Dept").Controls(1), TextBox).Text = e.Value |
| filterItem.FireCommandEvent("Filter", New Pair("EqualTo", "Dept")) |
| End Sub |
| Protected Sub cboRadFrom_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs) |
| Dim filterItem As GridFilteringItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)(0), GridFilteringItem) |
| TryCast(filterItem("From").Controls(1), TextBox).Text = e.Value |
| filterItem.FireCommandEvent("Filter", New Pair("EqualTo", "From")) |
| End Sub |
| Protected Sub cboRadStatus_SelectedIndexChanged(ByVal o As Object, ByVal e As RadComboBoxSelectedIndexChangedEventArgs) |
| Dim filterItem As GridFilteringItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.FilteringItem)(0), GridFilteringItem) |
| TryCast(filterItem("Status").Controls(1), TextBox).Text = e.Value |
| filterItem.FireCommandEvent("Filter", New Pair("Contains", "Status")) |
| End Sub |
| protected void gridAllPlans_ItemDataBound(object sender, GridItemEventArgs e) |
| { |
| if (e.Item.ItemType == GridItemType.Item || e.Item.ItemType == GridItemType.AlternatingItem) |
| { |
| var targetPlanYearName = e.Item.FindControl("planYearName"); |
| var targetPlanName = e.Item.FindControl("planName"); |
| if (!Equals(targetPlanYearName, null)) |
| { |
| if (!Equals(this.radToolTipManager, null)) |
| { |
| var year = (PlanPlanYearInfo)e.Item.DataItem; |
| if (year.PlanPlanYear != null) |
| ((WebControl)targetPlanYearName).Attributes["OnMouseOver"] = String.Format("DisplayPlanYearName('{0}', '{1}');", targetPlanYearName.ClientID, year.PlanPlanYear.PlanYearId); |
| ((WebControl)targetPlanName).Attributes["OnMouseOver"] = String.Format("DisplayPlanName('{0}', '{1}');", targetPlanName.ClientID, year.Plan.Id); |
| radToolTipManager.TargetControls.Add(targetPlanName.ID); |
| radToolTipManager.TargetControls.Add(targetPlanYearName.ID); |
| } |
| } |
| } |
| } |
