Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
161 views
<telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server"  CssClass="textBox" DataType="System.Int32" DisabledStyle-Font-Strikeout="False"> 
                                                                                                            </telerik:RadNumericTextBox> 


How can I change the DataType to System.Int32?
Maria Ilieva
Telerik team
 answered on 27 Apr 2010
1 answer
104 views
I tried adding confirmtext attribute to gridbuttoncolumn but it is not skinable like the radconfirm dialog. thanks.
Princy
Top achievements
Rank 2
 answered on 27 Apr 2010
2 answers
195 views
Hi

I've just update a site form Q3 2008 to Q1 2010.

Our users are quite unhappy about the new font (Segoe UI) and find it difficult to read.

If I wanted to change it to something else across all controls is there an easy way to do this?  I can't seem to find one.

I'm reluctant to use a custom skin as having tried this it's introduced several problems with other aspects of the skining and I really want to avoid customising/hacking the site to fit a specific version of radcontrols that may change in the future.

Thanks

Andy
Andy
Top achievements
Rank 2
 answered on 27 Apr 2010
3 answers
184 views

Following is one of the radpanelitems on a panelbar. It has a button on this button’s click (client Side) I want to make  radpanel CheckingAddbucAdd visible. How do I do this?

 

<telerik:RadPanelItem value="CheckingAdd" runat="server" Text="" Expanded="true" style="display:none;">

                                                <Items>

                                                      <telerik:RadPanelItem value="CheckingAddbtn" runat="server" Text="" Expanded="true">

                                                            <ItemTemplate>

                                                                  <br />

                                                                  <asp:ImageButton ID="btnAddAccountChecking" runat="server"  />

                                                            </ItemTemplate> 

                                                      </telerik:RadPanelItem>

                                                      <telerik:RadPanelItem value="CheckingAddbucAdd" Text="AddCheckingAccount" runat="server"   Visible="false">

                                                            <ItemTemplate>

                                                                  <UC1:CheckingAcct ID="CheckingAcct1" runat="server"   AcctID="0" />

                                                            </ItemTemplate> 

                                                      </telerik:RadPanelItem>

                                                </Items>

                                          </telerik:RadPanelItem>

T. Tsonev
Telerik team
 answered on 27 Apr 2010
1 answer
175 views
hi guys

i copy RadEditor.Dialogs.resx and RadEditor.Main.resx and RadEditor.Modules.resx and RadEditor.Tools.resx
and customize to  RadEditor.Dialogs.fa.resx  and  RadEditor.Dialogs.ar.resx  and ...

all tooltip work okey. but when i open ImageManager windows is empty,

txtDesFa.LocalizationPath =

"~/App_GlobalResources";

 

Rumen
Telerik team
 answered on 27 Apr 2010
1 answer
99 views
I am calling radalert from the server side inside radgrid insertcommand.

Here's my code:
Page.ClientScript.RegisterStartupScript(GetType(), "key", "<script type='text/javascript'>javascript:radalert('" + pMessage + "'); </script>"); 


I am having javascript error saying parameter c, d and a are undefined.

function GetRadWindowManager(){return Telerik.Web.UI.WindowManager.Manager; 
}window.radalert=function(e,c,d,a){var b=GetRadWindowManager(); 
return b.radalert(e,c,d,a); 
}; 


Princy
Top achievements
Rank 2
 answered on 27 Apr 2010
1 answer
78 views
When I assigned validation using RadInput inside  a grid dynamically, it changes the size and remove the rounded corners of the textboxes. please see attach image (look on Customer, WebSite and Profile Link field)

Here's the code:
protected void grdCustomer_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e) 
        { 
            if (e.Item is GridEditableItem && e.Item.IsInEditMode) 
            { 
                string strURL = @"^(http\:\/\/|[a-zA-Z0-9_\-]+(?:\.[a-zA-Z0-9_\-]+)*\.[a-zA-Z]{2,4}(?:\/[a-zA-Z0-9_]+)*(?:\/[a-zA-Z0-9_]+\.[a-zA-Z]{2,4}(?:\?[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)?)?(?:\&[a-zA-Z0-9_]+\=[a-zA-Z0-9_]+)*)$"; 
                 
                GridEditableItem item = e.Item as GridEditableItem; 
 
                TextBox txtName = (TextBox)item["CustomerName"].Controls[0]; 
                TextBox txtProfile = (TextBox)item["ProfileLink"].Controls[0]; 
                TextBox txtWebsite = (TextBox)item["Website"].Controls[0]; 
 
                TextBoxSetting riReq = (TextBoxSetting)riManager.GetSettingByBehaviorID("riReq"); 
                riReq.ErrorMessage = "Required field"; 
                riReq.TargetControls.Add(new TargetInput(txtName.UniqueID, true)); 
 
                RegExpTextBoxSetting riURL = (RegExpTextBoxSetting)riManager.GetSettingByBehaviorID("riURL"); 
                riURL.ErrorMessage = "Invalid URL"; 
                riURL.ValidationExpression = strURL; 
                riURL.TargetControls.Add(new TargetInput(txtProfile.UniqueID, true)); 
                riURL.TargetControls.Add(new TargetInput(txtWebsite.UniqueID, true)); 
 
            } 
        } 
Dimo
Telerik team
 answered on 27 Apr 2010
7 answers
161 views
I'm create Web with CHART and my data in XML like this :

<graph >
<Set Time="08:10" value="5"/>
<Set Time="08:20" value="15"/>
<Set Time="08:30" value="10"/>
<Set Time="08:40" value="30"/>
<Set Time="08:50" value="20"/>
</graph>

And i want Time as Y axis like this picture. and i want result like that (Attach)

Please help

Heri

http://www.exlogsarana.com
http://www.pbutenergy.org
Heri .
Top achievements
Rank 1
 answered on 27 Apr 2010
4 answers
207 views
Hi,
As I have mentioned before in this thread I'm using  an XmlHttpPanel to display some data from a RadGrid using Callback. because of performance issues I've decided to replace callback with web Service so with the help of the sample provided in here I managed to convert my code to a web service so that it returns source Code of the generated page.
now it will display data but unfortunately I'm encountering several issues:

1. whith the EnableClientScriptEvaluation set to "true" , A) JavaScript Error "Object Required" is encountered, and debugging this error points to a line that  "this._onsubmit=this._form.onsubmit;" which is apparently called here : function(a,b){Sys,WebForms.PageRequestManager.getInstance()._initializeInternal(a,b)};.. and then nothing works (javascript ,ajax..)

2. if EnableClientScriptEvaluation  is set to false , A)I can still select other rows on he column and XmlHttpPanel gets updated, but B)of course the proplem mentioned in my previous post still exists(controls are not loaded properly)  and also C)any postback event(full or Ajax) would result in this error: "The State information is invalid this page and might be corrupted."



I hope I have clarified the problem. Thanks in Advance.

p.s. described issues are encountered in IE ,In  Firefox  the experience  generally the same but with different javascript errors.
Pero
Telerik team
 answered on 27 Apr 2010
4 answers
134 views
Been searching around a bit for the Grid samples with upload and haven't found one that has a way of using an edit from with RadUpload. All seem to rely on using the Image or Attachment column which is great, but I have a couple of columns showing in the grid that are not editable and am using the edit form. Any pointers would be greatly appreciated.

Thanks,
Kevin
Maria Ilieva
Telerik team
 answered on 27 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?