Hello, I had a problem with an application done in ASP.NET that RADComboBox uses, today there were updates of the firewall and that surprise that to the moment to give click in the radcombobox the page was cutting the connection, investigating we think that the problem owed to itself that the firewall was detecting as injection of sql in the event of this control. I request his(her,your) support please to help myself to finding a solution.
Thank you
Hello ,
I want to add some validates at bounded columns , I tried hardly to let it work but I failed so please help me in this issue :-I had a login form -- two rad text boxes and a button -- and was calling LoginIdRadTextBox.Focus() in the code behind (Page_PreRender).
The TabIndex for the controls (login, password, button) was set explicitly in the markup as 10, 20 , 30 respectively. This form was used in production for some time, but with the latest release (2008.3.1105.20) the behavior changed. Instead of tabbing from the LoginIdRadTextBox to the PasswordRadTextBox, pressing tab would instead take you to the address bar.
I found that the Focus() method wasn't working reliably in some browsers anyway, so I killed two birds with one stone by replacing the call to Focus() in the code-behind with this:
Telerik.Web.UI.RadScriptManager.RegisterStartupScript(Page,
GetType(Page), "Focus", String.Format("window.setTimeout(""document.getElementById('{0}_text').focus()"", 300);", LoginIdRadTextBox.ClientID), True)
In working toward this solution, I also tried using RadAjaxManager.FocusControl() but that wouldn't work either. I didn't want to create a case because I have the work-around above, but in future releases I'd like to see tabbing/enter key behavior in a form work exactly as it does without the decoration (I had to employ yet another work around for enter key behavior).
| <ul> |
| <li><img src="http://www.izilla.com.au/img/logos/logo_izilla.png" alt="Izilla Logo" /></li> |
| <li><img src="http://www.izilla.com.au/img/logos/cogdotgov.gif" alt="Cognition ECM Logo" /></li> |
| </ul> |
| <ul> |
| <li></li> |
| <li><img alt="Cognition ECM Logo" src="http://www.izilla.com.au/img/logos/cogdotgov.gif" /></li> |
| <a href="http://www.izilla.com.au"><img alt="Izilla Logo" src="http://www.izilla.com.au/img/logos/logo_izilla.png" /></a></ul> |
Protected
Sub BindToImageList(ByVal combo As RadComboBox)
''Populate the datatable
Dim sConnString As String = ConfigurationManager.ConnectionStrings("PU89").ConnectionString
Dim objConnection As New SqlClient.SqlConnection(sConnString)
Dim strSQL As String
strSQL =
"SELECT * FROM tblPhotoGallery; "
Dim objDR As SqlDataReader
Dim command As New SqlClient.SqlCommand(strSQL, objConnection)
Dim strFullPath As String
Dim strFileName As String
Me.rcboImage.Items.Add(New RadComboBoxItem("", ""))
Try
objConnection.Open()
objDR = command.ExecuteReader(System.Data.CommandBehavior.CloseConnection)
While objDR.Read()
strFullPath = objDR(
"ImagePath")
strFileName = Path.GetFileName(strFullPath)
Me.rcboImage.Items.Add(New RadComboBoxItem(strFileName, strFileName))
Me.rcboImage.FindItemByText(strFileName).ImageUrl = objDR("ImagePath")
Me.rcboImage.FindItemByText(strFileName).DisabledImageUrl = objDR("ImagePath")
End While
Catch ex As Exception
Response.Write(ex.Message)
Response.End()
Finally
If objConnection.State = ConnectionState.Open Then
objConnection.Close()
End If
End Try
End Sub