hi all
i have a little problem with radlistbox, already i add items from a radcombobox, this function run correctly, but radlistbox accept repeated items, i want to know how i can validate with client side code if items on list do repeated before to add new item
thanks in advance for read this thread and for all answers
Regards!
<telerik:RadWindowManager ID="RWMan" runat="server">
<Windows>
<telerik:RadWindow ID="RWITaskView" runat="server" Width="400" Height="200" BorderColor="Blue"
DestroyOnClose="true" VisibleTitlebar="true" VisibleStatusbar="false"
NavigateUrl ="MemberITaskView.aspx"
VisibleOnPageLoad="false" AutoSize="true" AutoSizeBehaviors="Height, Width"
KeepInScreenBounds="false" Behaviors ="Close,Move"
EnableShadow="true" EnableEmbeddedSkins ="false">
</telerik:RadWindow >
<telerik:RadWindow ID="RWITaskEdit" runat="server" Width="400" Height ="200"
DestroyOnClose="true" VisibleTitlebar="true" VisibleStatusbar="false"
NavigateUrl ="MemberITaskEdit.aspx"
VisibleOnPageLoad="false" AutoSize="true" AutoSizeBehaviors="Height, Width"
KeepInScreenBounds="false" Behaviors ="Close,Move"
EnableShadow="true" EnableEmbeddedSkins ="false">
</telerik:RadWindow >
</Windows >
</telerik:RadWindowManager >
(e.Item.Cells[ViewPos].Controls[1]
as HyperLink).Attributes["onclick"] = "ShowITaskView('" + ky + "');" ;
In webpage script:
function ShowITaskView(id) {
var Wnd = radopen("MemberITaskView.aspx?itid=" + id, "RWITaskView" );
return false ;
}
PROBLEM:
1. On the first click on a hyperlink in the RadGrid control,
The autosize and everything works fine EXCEPT that the title bar and boundaries have opacity 0 somehow
2. On subsequent clicks on hyperlinks in same or other rows,
Autosize and everything does NOT work, AND the title bar and boundaries are normal.
See the two screen shots.
Any ideas?
Thanks.
protected void Page_Load(System.Object sender, System.EventArgs e) { RadGrid InventoryGrid = (RadGrid)InventoryRadGrid; Control pdfExportButton = (Control)InventoryRadGrid.MasterTableView.FindControl("ExportToPdfButton"); if (pdfExportButton != null) ScriptManager.GetCurrent(Page).RegisterPostBackControl(pdfExportButton); else messageLabel.Text = "Export to PDF Control Not Found"; if (!IsPostBack) { } }