Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
359 views
Dear Forum,

Is there any way to set the autofilter property in Excel when exporting a table from RadGrid?

Thank you,
Celeste
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 29 Jan 2011
1 answer
152 views
Hi,

How to control the height and width of the ModuleManager in RADEditor so that the additional white space (height) is not shown. Also, is it possible to control the display width based on the module name length; Attached is the sample screen shots from the demo website; and the desired output, what I am looking for is to get rid of the whitespace after the "Statistics" module name and also to limit the width either based on the max width of the named modules or programmatically (let's say 200px width).

Thanks.
Rumen Jekov
Top achievements
Rank 1
 answered on 28 Jan 2011
5 answers
615 views
I have installed/reinstalled and Reinstalled telerik again, but to no avail.  Every time i attempt to use a Telerik control on a new web project it comes up with Error Rendering control with the following error:

An unhandled exception has occured
Could not load file or assembly 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeytoken=121fae78165ba3d4' or one of its dependencies.  the System cannot find the file specified. 

in bin i have:
 Telerik.Web.UI.dll and Telerik.Web.UI.xml

in the web.config i have:
     under controls
          <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
     under httpHandlers i have:
          <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
          <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
          <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*"   
          validate="false" />
          <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
     under httpModules i have:
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
     under modules i have
          <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/>
          <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
     under Handlers i have:
          <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*"
          preCondition="integratedMode,runtimeVersionv2.0" />
          <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" 
          type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
          <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx"
          type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
          <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx"
          type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />
          <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd"
          type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" />




I've had a co-worker looking at it who deals with telerik more extensivly, but even he sees nothing wrong.  Hopefully someone here can help me understand this error. 

Also:  I have telerik installed to C:\Program Files (x86)\Telerik



mike
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
80 views
I have everything I need to start saving and loading dock state in the database but I have a strange question, how do initially get the dock state into my DB? Obviously I need the state to be in the tables before the page will even load, I was thinking I could have a test page set up with an original layout of the rad docks so I can grab the dock state in debug mode, is this even possible or is there a better way?

Pero
Telerik team
 answered on 28 Jan 2011
3 answers
161 views
Hi all,

I was hoping to have a discussion about what all needs to occur when attempting to save and load dynamically created objects.

I've looked through the following example pretty thoroughly and I feel like it is a good starting example, but leaves some complex concepts still untouched: http://demos.telerik.com/aspnet-ajax/dock/examples/myportal/defaultcs.aspx

So, my first concern is usage of only a single RadDockLayout in this example. It is my understanding that scenarios will arrive where multiple RadDockLayouts will be necessary and that each RadDockLayout needs to be able to persist the state of controls inside of it. Does Telerik possess example code to handle this scenario? Could some be mocked up?

For instance, in my scenario I have the following situation:
  • The web page loads and the user is presented with only one, blank RadPane.
  • The user has the ability to divide this RadPane up into subsections which will eventually hold RadDocks through the following strategy: 
  • 1) User indicates they would like to add a horizontal RadSplitBar to the screen.
  • 2) Dynamic creation of the following controls ensues:
  • a) RadSplitter will be our base foundation. Its orientation is horizontal.
  • b) RadPane will be contained in the RadSplitter.
  • c) RadDockLayout will be contained in the RadPane.
  • d) RadDockZone will be contained in the RadDockLayout.
  • e) RadSplitBar will be contained in RadSplitter.
  • f) Repeat steps b-d to replicate the 'other half' of RadSplitter's content.
  • 3) This RadSplitter is now added to the blank RadPane. 
  • The user now has control over two dynamically created, resizable RadDockZones.
At this point it should be clear that the amount of objects requiring persistent state is going to be much larger than that of the simple example provided above. In addition, my scenario allows the user to continue adding more bars to their initial RadPane -- subdividing the initially blank square into many RadDockZones of various size. After investigating this issue further, I was able to find some sample code provided by a Telerik employee that showed a way of saving DockZone's to a database. In this example, they capture a specific RadDockLayout's RegisteredZones and write the list of names to a database. Then, they recreate each zone using only the name given in the database. This solution does not seem easily extensible, however. How would one handle an arbitrarily large amount of nested controls?
Attempting to recreate the object structure I described above sounds near impossible. The user may have decided that they really like horizontal dividers. As such, they have nested the above object structure in itself multiple times. Each time, the code must strip away the RadDockZone and RadDockLayout and re-add the entire structure to the RadPane in order to 'split' it into two again. Then, when loading the hierarchy on page init, I cannot just load all RadDockZones. I must load the first splitter on the static pane, then the panes it holds, then splitters inside those panes (recursively going through any splitters added to the pane) before being able to go back through and add RadDockLayouts and RadDockZones to panes which do not have splitters on them.
Whew! With all that being said, I feel like this goal is an achievable one. Unfortunately, I do not see a way of dumbing down this recursive-nesting in a way that would yield the same results that I desire.
If I can provide any additional information, let me know. If a sample project with code would be helpful I can supply, but I will be the first to admit that my project is still in its infancy.
Thank you for your time!
EDIT: If it seems that creating a complicated mock-up would not be feasible at this point in time, would it be possible to receive a mock-up of a static RadPane saving/loading the state of another control?









Pero
Telerik team
 answered on 28 Jan 2011
9 answers
86 views
Hi,

If I have a header at the top of a page how do I type or paste text before the header without the header style being applied to it?

Thanks,

Jeff
Jeff Paetkau
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
42 views
I know I can do this for myself (and have) but I thought that there might be a place for a button class 'rbUAC' that used the Windows UAC shield as the icon.

Just a thought.

-- 
Stuart
Pero
Telerik team
 answered on 28 Jan 2011
2 answers
57 views
Hi. I am contemplating using the TagCloud to display some information that I am generating (actually in code behind from a database). I am therefore not using the TagCloud to scan external text, files, url.... I am setting the .text property from the code behind and creating a comma seperated string. I can control the string and control that the only punctuation character is ','.

My problem is that some of the tags are two words ("Sales Manager", "Retail Shop"....). If I create the aggregate string it would look like:

"Word1, Word2, Sales Manager, Another, Word, Retail Shop, ....."

This is all fine. However, even if I set PunctuationCharacters = "," the tagCloud still parses the .text using space as a valid separator. I thought that I could be clever and perform a newSubString.replace(' ', '\u00A0') to replace spaces with &nbsp;. However, the tagCloud still parses this so that I end up with two items in the cloud for "Sales" and "Manager". At the moment I am therefore performing a .replace(' ', '_') now and accepting the display consequences for this.

I am assuming that I haven't made any mistakes and this is correct behaviour. Could I suggest an enhancement such that is you include \u00A0 in the punctuationValidCharacters then the tagCloud will treat it as a 'no break space'.
Pero
Telerik team
 answered on 28 Jan 2011
1 answer
57 views
Hi, due to a client request I need all parent nodes even if they have NO child nodes with the same icon.
Currently I'm using the rtPlus, rtMinus to show the corresponding icons, but from what I can see in the rendered html code, these two spans are missing when a node has no child nodes. How can I achieve this?

Can be client or server side.

Thanks in advance, 

Deval
Yana
Telerik team
 answered on 28 Jan 2011
1 answer
95 views
Hi,
I was able to load the Telerik dll's into my Dev server GAC via .NetConfigurator 2.0 with no issues. However, when I went to load it on Test and Prod's GAC, I noticed that they were running .NetConfigurator 1.1 and won't let me add without a Strong Name. How do I get the Strong Name for the Telerik dll's.

Thanks,

Sam
Daniel
Telerik team
 answered on 28 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?