Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
491 views
I have a masked input that is only supposed to accept a phone number. The problem is that people can enter spaces, or even if you type a letter, it won't allow it, but it will put a space instead. Does anyone know how to not allow spaces? This is how my masked input looks like:

                            <telerik:RadMaskedTextBox ID="PhoneRadMaskedTextBox" runat="server"
                                Mask="(###) ### - #### Ext. #####"
                                PromptChar="">
                            </telerik:RadMaskedTextBox> 
Konstantin Petkov
Telerik team
 answered on 30 May 2008
2 answers
193 views
Hi,

I am working with "RadControls for ASPNET AJAX Q1 2008" which is Trial version.

I am facing a problem when I upload my site on remote server with telerik controls.

Error : Server Error in '/' Application.Runtime Error
Description: An application error occurred on the server..........

When I upload my site without "RadControls for ASPNET AJAX Q1 2008"
everything is ok.

Is this any limitation hosting website on remote server.

Please reply me soon.

Thanks
Shinu
Top achievements
Rank 2
 answered on 30 May 2008
7 answers
138 views

 In datagrid Itemtemplate column i have placed the textboxes(2 columns are textboxes and rest of the columns are label).Text 1 is amount text2 is percentage.
 Using JS calculated the percentage and amount in the onblur event.if user changes the data without saving the data then goes to page 2 then back to page 1 user lost the changes at that i want ask the user to save data then go to page 2.

 When the page index is changed, we lost the values of other pages.
When i change the page and then turn back, all the changes have been lost.

 while woking with DataGrids on the PageIndexChanged event i want to take a confirmation from the user to continue for the next page or not.
 
  How could i do this?

Regards
Sangeetha

Princy
Top achievements
Rank 2
 answered on 30 May 2008
1 answer
269 views
Hi All,
         i want to show update progress of the Update panel at the center of update panel & when the update progress is visible i need to show updateProgress with transparent gray background.(similar to modal popup).
Please reply me if you have any idea regarding this.

Thanks in advance,

Regards,
Ganesh K

Daniel
Telerik team
 answered on 30 May 2008
1 answer
178 views
Hi!

We are trying to use the radajax panel from codebehind.  Using the rendercontrol method we can't get the ajaxpanel to work.  We always have the  following error:

 Script control 'upCats' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().



Here's some of our code:

'UPDATEPANEL START------------------ 
Dim upPanel As New Telerik.Web.UI.RadAjaxPanel 
Dim sw As New IO.StringWriter() 
Dim tw As New HtmlTextWriter(sw) 
Dim content As New Literal 
upPanel.ID = "upCats" 
upPanel.Page = Me.Page 
'----------------------------------- 
 
''Filling content here 
''Code stripped 
 
'UPDATEPANEL STOP------------------ 
upPanel.Controls.Add(content) 
upPanel.RenderControl(tw) 'ERROR COMES HERE 
strCatsOverview &= sw.ToString() 
'----------------------------------- 

Thx for your quick response!
Shinu
Top achievements
Rank 2
 answered on 30 May 2008
1 answer
280 views
Hi,
  How can i set the numerictextbox background color using javascript.

Thanks.
Raju
Princy
Top achievements
Rank 2
 answered on 30 May 2008
7 answers
413 views
Hi

I need some help with a group header.

I am going to simplify the data in my grid to help with this example. Lets says my grid has a column called row no and that the rows in the grid are ordered into groups which have intervals of 10. So for example the first group is rows 1 to 10 and the second group is rows 1 to 20.

I would like the header for group 1 to say 'Rows 1 to 10' and the header for group 2 to say 'Rows 2 to 20'

This would require knowing information about the first and last row in the group when the it comes to creating the group header. I normally create group headers like this:

Private Sub dgStock_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.WebControls.GridItemEventArgs) Handles dgStock.ItemDataBound

If TypeOf e.Item Is GridGroupHeaderItem Then

Dim item As GridGroupHeaderItem = CType(e.Item, GridGroupHeaderItem)

Dim groupDataRow As DataRowView = CType(e.Item.DataItem, DataRowView)

'Clear the present text of the cell

item.DataCell.Text =

""

Dim column As DataColumn

For Each column In groupDataRow.DataView.Table.Columns

'item.DataCell.Text = item.DataCell.Text & " " & column.ColumnName

'Check the condition and add only the field you need

If column.ColumnName = "StockType" Then

item.DataCell.Text = groupDataRow(

"StockType").ToString()

Exit For

End If

Next column

Naturally this method of adding a group header won't let me do what i want to do so I was hoping you could please advise.

thanks

Yavor
Telerik team
 answered on 30 May 2008
2 answers
113 views
Hello admin!

Its Shrawan from Hyderabad,

In my project I need to place a radUpload control where i can upload multiple images, along with images titles(will shown below the image) 

i mean if the number of controls are fixed i can place text boxes for each, But here i cant fix the no.of  images to be upload, So when we click on add button of Upload control to upload one more image i want to add text box along with it?

can any one please help me to solve the case

Thank you

regards
Sravan Kumar T
Shrawan
Top achievements
Rank 1
 answered on 30 May 2008
2 answers
148 views
Hi All,
I have problem with RadChart control.
I have DataTable:

    Date           Price             
07/05/2008    2.5   
08/05/2008    1.0                     
09/05/2008    1.55   


When I bind datatable into RadControl, XvalueLabel display range datetime  from
1/7/2008->9/9/2008

I don't know why? and range datetime what is it?

I Want display line chart with Y value: Price Column and X value: Date and XLabel range from "07/05/08" to "09/05/08"

Thanks For All Answer!
Trong
Top achievements
Rank 1
 answered on 30 May 2008
1 answer
133 views
On my user control page i want to raise an ajaxrequest whenever the value in the textbox on the uc changes.

I am changing the value of the textbox through javascript.
Steve
Telerik team
 answered on 30 May 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?