Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
170 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
93 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
73 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
155 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
195 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
129 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
1 answer
95 views
The project I am working on is missing some images.  I added filters to a few grid columns by using allowfilterbycolumn and the filter pull down has missing images in it.  Not sure where I can find these images, I have attached a screenshot of the issue.  Any help would be appreciated, thanks.
Dimo
Telerik team
 answered on 27 Apr 2010
6 answers
546 views
Hi,

I am creating a stacked bar chart programatically with one or several series across the x-axis.  The chart is being created and displays fine, except I cannot work out how to change the x-axis labels to a variable text item - everything I have tried so far just results in the x-axis being labelled as 1, 2, 3 etc...

The code being used (and working at present) is:

 Dim cs_hours As New ChartSeries  
                    cs_hours.Name = "Hours Recorded" 
                    Dim cs_under As New ChartSeries  
                    cs_under.Name = "Hours Deficit" 
                    Dim cs_over As New ChartSeries  
                    cs_over.Name = "Hours Over" 
 
                    cs_hours.Type = ChartSeriesType.StackedBar  
                    cs_under.Type = ChartSeriesType.StackedBar  
                    cs_over.Type = ChartSeriesType.StackedBar  
 
                    cs_hours.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_hours.Appearance.FillStyle.MainColor = Drawing.Color.Green  
 
                    cs_under.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_under.Appearance.FillStyle.MainColor = Drawing.Color.Blue  
 
                    cs_over.Appearance.FillStyle.FillType = Styles.FillType.Solid  
                    cs_over.Appearance.FillStyle.MainColor = Drawing.Color.Red  
 
                    cs_hours.Appearance.LabelAppearance.Visible = False 
                    cs_under.Appearance.LabelAppearance.Visible = False 
                    cs_over.Appearance.LabelAppearance.Visible = False 
 
                    Chart.Series.Add(cs_hours)  
                    Chart.Series.Add(cs_under)  
                    Chart.Series.Add(cs_over)  
 
                    While dr.Read  
                        Dim tm As String = dr.Item(0)  
                        Dim hrs As Decimal = dr.Item(1)  
                        Dim ehrs As Decimal = dr.Item(2)  
                        Dim ah, vh, rh As Decimal  
...  
                        cs_hours.AddItem(ah, tm, Drawing.Color.Green)  
                        cs_under.AddItem(vh, "", Drawing.Color.Blue)  
                        cs_over.AddItem(rh, "", Drawing.Color.Red)  
 
                    End While 

What I want to do is display the text in the tm field as the label on the x-axis underneath each series of stacked bars.  I really want to display this at an angle, but I think I can work out how this is done, not just how to get the label text to show something other than the number.

David Penny
Ves
Telerik team
 answered on 27 Apr 2010
1 answer
83 views
Hello,

I need to display a StackedBar chart with a datasource containing this kind of data
Month    Amount    Product 
Jan      12        A 
Jan      13        B 
Feb      10        A 
Mar      11        C 
Mar      10        B 

The question is how to databind these three columns to a StackedBar RadChart?
I know Month and Amount columns could be databinded by DataLabelsColumn and DataYColumn to display a Bar RadChart...
But what about the third column? How to databind it to display a StackedBar RadChart?

The samples you provide about this type of chart contain its data predefined in the aspx. There aren't examples illustrating databinding on this type of chart.

Please help.
Thanks is advance.
Ves
Telerik team
 answered on 27 Apr 2010
1 answer
78 views
I have a chart with stackedbars, which I want to appear as area's. But with the rounding/3d effect of the bars, it still appears as bars. How can I disable this look?

See attached file for example.
Vladimir Milev
Telerik team
 answered on 27 Apr 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?