Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
171 views
Hi! I'm using RadDock to built portal, with dynamically created docks. Docks has templated title bars, without any RadDock's commands. My template in title bar has one button, with javascript onclick handler, that looks like this:

  alert(pDockID);
  var dock = $find(pDockID);
  alert(dock);
  alert(dock.get_collapsed());
  dock.set_collapsed(true);

pDockID - is known and correct client ID of dock.

Dock changes their collapsed property from false to true, but nothing happens on the screen (i.e. dock does not collapsing). Is there any reason to prevent collapsing?
Thanks!
Petko
Telerik team
 answered on 08 Oct 2008
5 answers
189 views
Hi, I have a question concerning the CHM help files:

Whenever I open the help file, it is displayed in a very small window. I have to resize this window every time I open the help file, because its size and position are not stored (which is very annoying).
Is there a possibility to change the behaviour for the current help files, so that the window size and position is stored?


If not, would it be possible to improve this for future help files?

I have read that the producer of the help file might be able to change this behaviour by setting an option in the CHM file (e.g. see here: http://help.lockergnome.com/windows2/save-permanently-position-size-chm-help-ftopict21462.html).


Thanks and best regards,
Martin
Martin
Top achievements
Rank 1
 answered on 08 Oct 2008
4 answers
163 views
Hi!

I've implemented the drag & drop from radGrid to radTreeView using one of the online examples. At the moment I'm using a hidden field for temporarily storing the node values. The problem is nodes use the values from DB and can appear multiple times in the tree and when I drag to a lower node with value that already exist, it's dropped on the first node with that value...

I could store the node value based on the tree structure (cobination of levels and indexes) and then save the DB values to node's text but I'm wondering if there's a more elegant way, like some kind of internal node value that's unique? Like ID (node.get_ID() won't work) or something...
Jure
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Oct 2008
3 answers
130 views
Hi,

We are using radgrid of Q2 2008 release. Edit is enabled via template forms. The form contains several textboxes, comboboxes, one image and a checkboxlist. Four of the comboxes are cascading comboboxes for country, state, city, town fields.

The problem is that when these four comboboxes are placed seperately on a form, they work pretty fast. When they are placed inside the FormTemplate of the grid the performance is nearly 7-8 times slower.  This issue also applies to other controls such as grid, tabs.

Can you please help us in finding a solutions to this issue ?

Thanks,
Oner
Sebastian
Telerik team
 answered on 08 Oct 2008
6 answers
138 views
Hello,
I have downloaded RadControls_for_ASP.NET_AJAX_Manual_2008.2.1001.zip
and unzipped it. But I can't read help, because when I try to open  file
RadControlsForASP.NET.AJAX.chm
I get   "The page cannot be displayed" message. How can I fix that?
Thank you
Evgeny
eugen100
Top achievements
Rank 1
 answered on 08 Oct 2008
3 answers
951 views
Is there a way to hide the week number column in the DatePicker without customizing the stylesheet? I've looked for an API property and haven't seen one. Did I miss it?

Thanks,
Terry

Vlad
Telerik team
 answered on 08 Oct 2008
1 answer
161 views

I am running an evaluation copy of RadUpload for AJAX, in a .NET 3.5 environment. I have been ordered to support upload up to four files of 10 MB each. I am assuming my users run IE 7. These files are then to be saved into a SQL database.

But I haven't got that far.

That is because, if we post two files of  ~9 MB, the Rad Progress Bar does not show up. (It works fine for just one file, or for four little files.) Instead we get the classic IE bar at the bottom of the page, which then goes for about 60 seconds before collapse. By "collapse", I mean the whole page goes blank and in the URL textbox, we see this - 
http://mysite.com/Restricted/UploadDocuments.aspx?RadUrid=55c9fb99-3278-423d-811a-5eb3284bd1fe. (note the "radurid", which is set by Telerik and not by me.)

It looks like it's timing out on POST, but I had thought I'd set the web.config -

  <httpRuntime executionTimeout="600" maxRequestLength="10240" requestLengthDiskThreshold="10240" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="5000" enableKernelOutputCache="true" enableVersionHeader="true" requireRootedSaveAsPath="true" enable="true" shutdownTimeout="300" delayNotificationTimeout="5" waitChangeNotification="0" maxWaitChangeNotification="0" enableHeaderChecking="true" sendCacheControlHeader="true" apartmentThreading="false"/>

I also tried setting in C:\WINDOWS\system32\inetsrv\MetaBase.xml under IIsWebVirtualDir, a "four ten-megabyte" limit:

  AspMaxRequestEntityAllowed="42949672960"

I have error reporting on the server but it is not sending me reports on the "error".

How can I find out what this "error" (if it is an error), actually is...?

Veselin Vasilev
Telerik team
 answered on 08 Oct 2008
1 answer
54 views
Hello All,


basically GridDateTimeColumncolumn cannot able to displays dates before 1980/1/1. So i not able to use this for Date Of Birth for people who Born before 1980.
How to solve this issue without using template column. i am created RadGrid runtime & add GridDateTimeColumn dynamically.using following code.

  GridDateTimeColumn boundColumn = new GridDateTimeColumn();
                  boundColumn.HeaderText = strColumnName;
                  boundColumn.DataField = Item.Value;
                  boundColumn.UniqueName = strColumnName;
                  boundColumn.DataFormatString = "{0:d}";
                  boundColumn.PickerType = GridDateTimeColumnPickerType.DatePicker;                  RadGridRow.MasterTableView.Columns.Add(boundColumn);

Thanks In Advance....
Vlad
Telerik team
 answered on 08 Oct 2008
1 answer
76 views
Hi

I have a Grid width PopUp style editing like :
....
<EditFormSettings EditFormType="Template" >      
                           <FormTemplate>
                           <asp:TextBox id="TextBox7"  runat="server"
                           Text='<%# DataBinder.Eval( Container, "DataItem.FieldName" ) %>'>
                        </asp:TextBox>
                        <br />
                           <asp:Button ID="UpdateButton" OnClientClick="GetNewData(this, event);" Text="Update"
                                 runat="server" />
                           </FormTemplate>
                                               
                       </EditFormSettings>
....

... and I have JavaScript finction like :

function GetNewData(sender, e)
{
  var grid = $get("Grid1");
  var inputs = grid.getElementsByTagName("input");
  for (var i = 0; i < inputs.length; i++)
  {  
    var input = inputs[i];
    if (input.id == "Grid1_ctl00_ctl05_" + "TextBox7")
    {
      alert(input.value);
    }  
  }
 }

Every thing work well but I have't got grid id directly from JavaScript code. I need this becoures I have to find control named "Grid1_ctl00_ctl05_TextBox7".
My question is : How can I get grid unique id like "Grid1_ctl00_ctl05_" ??? 

Regards
Krzysztpf
Yavor
Telerik team
 answered on 08 Oct 2008
1 answer
113 views
I would like to use one of my controls (tree view for example) out of my toolbox of 'RadControls for ASP.NET AJAX'. Only I don't want to make it AJAX enabled. Is there a way to do it? Or do I have to use another set of controls like' RadControls for ASP.NET'? Which is the one without AJAX functionality.
If I put this control on form it always requires ScriptManager.
Konstantin Petkov
Telerik team
 answered on 08 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?