Hi,
I am using a user control in a radwindow manager. I using a simple requiredfiled validator on my user control, But if I add ny validator the rad window doesn't get open at all. Below is code on my page.
<telerik:RadWindowManager runat="server" RestrictionZoneID="offsetElement" KeepInScreenBounds="True"
Modal="True" Animation="Fade" ID="RadWindowManager1" EnableShadow="false" ShowOnTopWhenMaximized="false"
Width="425" Height="525" DestroyOnClose="True" Behavior="Default" InitialBehavior="None"
OnClientClose="OnClientClose">
<Windows>
<telerik:RadWindow ID="RadWindowContactEditor" runat="server" Width="430" Height="350">
<ContentTemplate>
<uc7:ucCustomerContactEdit ID="ucCustomerContactEdit1" runat="server" />
</ContentTemplate>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
<html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> </telerik:RadScriptManager> <asp:Button ID="Button1" runat="server" Text="Button" /> <telerik:RadComboBox ID="cbxProva" runat="server"> </telerik:RadComboBox> </div> </form></body></html>Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click cbxProva = CaricaComuni("LE") End SubPublic Function CaricaComuni(ByVal Provincia As String) As RadComboBox CaricaComuni = New RadComboBox Try Dim sql As String sql = "SELECT IdComune, Comune FROM Sys_Comuni WHERE Provincia = @Provincia AND RecordEliminato = 0 ORDER BY Comune" Dim adapter As New SqlDataAdapter(sql, connStr) adapter.SelectCommand.Parameters.Add("@Provincia", SqlDbType.Char).Value = Provincia Dim dt As New DataTable() adapter.Fill(dt) CaricaComuni.DataSource = dt CaricaComuni.DataTextField = "Comune" CaricaComuni.DataValueField = "IdComune" CaricaComuni.DataBind() CaricaComuni.Items.Insert(0, New RadComboBoxItem("", "")) Catch ex As Exception 'MessageBox(ex.Message, ex.StackTrace.Substring(ex.StackTrace.LastIndexOf("\") + 1)) End Try End FunctionNo "NOFRAMES" Element Found!;
in order to trace this issue i gone through the view source of this particular page but i did not find those iframes in my view source. after a lot of struggle i came to know that they are coming for RadMenu (from my code i removed entire RadMenu after that i checked, then i observed the above issue does not reported, so i concluded that the above issue is because of Radmenu)
along with the above one he had reported one more issue with respect to tables if i click on the tables option in the WAT tool then i am getting the following message (no th element found) which i am adding an attachment.
so, how can we fix it.
Thanks,
Burepalli V S Rao.

Hi
I'm creating a composite control (say name MyTextBox) which will contains child controls as RadMasked TextBox or Asp.Net TextBox and Button . And then I placed this control in a Demp Page called Defaul.aspx. And I would like to access the text entered in the MytextBox through javascript as
document.getElementById(
'<%=MyTextBox1.ClientID %>').value.
which is not working because When a compiste control renders, child controls will be wrapped by SPAN element by-default. So How can I access 'value' property from javascript.
| Private Function IsDayRegisteredForTooltip(ByVal [date] As DateTime) As DateTime |
| Dim connectionString As String = ConfigurationManager.ConnectionStrings("eCalendarConnectionString").ConnectionString |
| Dim con As New SqlConnection(connectionString) |
| Dim cmd As New SqlCommand("SELECT Start FROM tblActivities WHERE convert( varchar(10), Start, 101 ) = convert( varchar(10), @Start, 101 )", con) |
| cmd.Parameters.Add(New SqlParameter("@Start", [date])) |
| Using con |
| con.Open() |
| Dim result As Object = cmd.ExecuteScalar() |
| Return result |
| End Using |
| End Function |
| Protected Sub RadCalendar1_DayRender(ByVal sender As Object, ByVal e As Telerik.Web.UI.Calendar.DayRenderEventArgs) |
| Dim returnedStartDate As DateTime = IsDayRegisteredForTooltip(e.Day.[Date]) |
| Dim cell As TableCell = e.Cell |
| cell.Attributes.Add("onmouseover", "ShowToolTip(this);") |
| cell.Attributes.Add("id", "Calendar1_" + e.Day.Date.ToString()) |
| cell.Attributes.Add("startDate", returnedStartDate.ToString()) |
| End Sub |