Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
112 views
We have a Radgrid where the header text is modified; this is done on the grid ItemDataBound event. This works properly on the initial page display.

However, after a postback the header text reverts to the original values. For example; if we use the Editmode=Popup option, teh values that are shown in the popup are the original header text values, not the modified values.

Here's where the modification is done;

 
Protected Sub RadGridInvoiceSubcontracts_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGridInvoiceSubcontracts.ItemDataBound
       If TypeOf (e.Item) Is GridHeaderItem Then
           Using taArea As New InvoiceAreasTableAdapters.AreasTableAdapter
               Using tArea As InvoiceAreas.AreasDataTable = taArea.GetData
                   For Each rArea As InvoiceAreas.AreasRow In tArea
                       Dim header As GridHeaderItem = DirectCast(e.Item, GridHeaderItem)
                       header("Area" & rArea.AreaID).Text = rArea.AreaName
                       header.EnableViewState = True
                   Next
               End Using
           End Using
       End If
   End Sub
Derek
Top achievements
Rank 1
 answered on 06 Dec 2010
4 answers
98 views
Hi,

Can I load all RADControls (ASPX Content) from a XML File like ASCX?

Tks

Luiz
Luiz
Top achievements
Rank 1
 answered on 06 Dec 2010
3 answers
132 views
hi telerik!

i need some help badly!

is there a way to move the node checkbox to appear after the node text?

thanks in advance!!!

Tom
Nikolay Tsenkov
Telerik team
 answered on 06 Dec 2010
1 answer
70 views
Hi,

 I have a page with several validation controls. However when i attempt to add a row to my grid, the validation control prevents the postback from happening. Is there a way to set the grids update/insert button to causevalidation = false.

Thanks,
Aash.
Shinu
Top achievements
Rank 2
 answered on 06 Dec 2010
1 answer
69 views
Hi,
I am new to telerik.Can some one tell me how to add a child node to a tree node in client side?
Thanks!
Princy
Top achievements
Rank 2
 answered on 06 Dec 2010
5 answers
69 views
hello admin,
                   Can we filter the radSchedular with Radfilter ? in my scenario i want to filter my radSchedular with the help of radSchedular .
Veronica
Telerik team
 answered on 06 Dec 2010
9 answers
274 views
Dear Forum,

Please assist! I have created a RadGrid with GridTemplateColumns where the FilterTemplates contain RadComboBoxes. I cannot figure out how to access the selected value or item of the RadComboBox in codebehind (C#) and I need to do this on the RadGrid's _ItemCommand event for this criteria if (e.CommandName == Telerik.Web.UI.RadGrid.FilterCommandName).

No clue, and I've read everything I can find.

Celeste

Tsvetina
Telerik team
 answered on 06 Dec 2010
5 answers
288 views

Hello,

I am trying to figure out how to change the localization of the RadasyincUpload control at runtime.  I have read the article at: http://www.telerik.com/help/aspnet-ajax/localizing-radupload.html and have created the Required App_GlobalResources directory at my website root – it appears in IIS right under the App_Data folder on the same level.  I have added the RadUpload.resx file and created a RadUpload.es-ES.resx file with the appropriate language translations in it.

I create a RadAsyncUpload control at runtime as such

public Telerik.Web.UI.RadAsyncUpload _uploadControl = new Telerik.Web.UI.RadAsyncUpload();

Then I set some propertie:

  this._uploadControl.ID = "u" + this.QuestionID;

  this._uploadControl.InitialFileInputsCount = 1;

  this._uploadControl.MaxFileInputsCount = 1;

  this._uploadControl.FileUploaded += new FileUploadedEventHandler(File_FileUploaded);

  this._uploadControl.TemporaryFolder = _fileVirtualPath;

  this._uploadControl.TargetFolder =_fileVirtualPath ;

  this._uploadControl.HttpHandlerUrl = "~/RadUpload/RadUploadFile.ashx";

  this._uploadControl.Width = new Unit(250);

  this._uploadControl.CssClass = "normalRemoveButton";

 

Then I have some code to determine the culture and attempt to set the culture of the upload control like :
              

 

this._uploadControl.Culture = System.Globalization.CultureInfo.CreateSpecificCulture("es-ES");

 

Then the control is added to the page controls.

 

The control still shows all the buttons in English.

 

What am I doing wrong, how can I get this to work?

 


We are using Telerik.Web.UI version 2010.3.1109.35

Thanks,

 


Gary

 

Helen
Telerik team
 answered on 06 Dec 2010
3 answers
69 views
Not sure if it's just MY FF, or all versions :)  However it happens on my work PC and this laptop.

I cant CRTL+shift->Left arrow to select text anymore.  Happens in this radeditor and the one on the demo page.

Works in IE

...just me?
Rumen
Telerik team
 answered on 06 Dec 2010
1 answer
182 views
I want checkbox inside Panelbar header. On the checked event of that checkbox panel will expand and collaps.
Any Idea how to do this thing?


Thanks

Sandeep.
Iana Tsolova
Telerik team
 answered on 06 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?