Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
169 views
Hi,

is it possible to let a PanelBarItem has 2 links? The button itself will redirect to a detailpage, while the icon will delete that entity or create a new one?
I've been looking for this functionality and also found a couple of possible things, but they didn't work, so I'm wondering if it is possible... and if so... How?

Thanks in advance.
Yana
Telerik team
 answered on 17 Jul 2008
1 answer
157 views
hello,

I try to bound automatically the radChart thanks to EntitySpaces with the esDataSource control. For the setting of the radChart I use ChartWizard, in data I choose the series name (for the legend) in this table of series all the properties of the collection I choose in esDataSource appears (which means that the esDataSource and the radChart are connect together ? ), Series Item is disabled because it write that it will be databound. All seems correct, but when I run my page, there is just the series name(legend) which appears and there is this message "there is no or empty series". My database is not empty. Is the radChart and the esDataSource is incompatible ? Did I miss to do something ?

Thanks!
Hélène
Giuseppe
Telerik team
 answered on 17 Jul 2008
2 answers
134 views
I have a grid with grouping enabled.  When the user sorts by a column, I want the grid to remember which groups were expanded and which groups were collapsed when re-displaying the sorted results. How can I do this?
Bodevain Svensson
Top achievements
Rank 1
 answered on 17 Jul 2008
4 answers
129 views
hi

How do I convert an anchor tag to use Hyperlink server control in RadGrid?

I have this code that i wish to convert.

</

EditItemTemplate>

<ItemTemplate>

<a href="#" onclick="openRadWindow2('<%#DataBinder.Eval(Container.DataItem,"vourcherid")%>'); return false;">Update</a>

</ItemTemplate>

</telerik:GridTemplateColumn>

</Columns>

Thanks a million

L
Top achievements
Rank 1
 answered on 17 Jul 2008
1 answer
183 views
Hi,

How can we get actual charcters count for the text entred by user in RAD Editor. Actual characters meant bu only alphabtes and not the HTML Tags and Atrributes that are generted like <b>, <br>, <UL> etc

regards,

Parimal
George
Telerik team
 answered on 17 Jul 2008
1 answer
66 views
All right guys,
I have copy-pasted this following example exactly as is to my own code... It doesn't work. I am using RadTreeView.Net2.dll or I guess RadTreeView for Ajax as you like to call it??
http://www.telerik.com/help/aspnet-ajax/tree_checkboxesallchildnodes.html

I have gone through the mappings as you've specified here:
http://www.telerik.com/help/aspnet-ajax/tree_overviermigrating.html

Since there's been huge renamings of the functions, properties etc... it's really not that easy to read your old examples in the new version... I'd suggest you update the example for propagating the check-status of a root-node to its child-nodes or ...?

anyhow, please help me out... all I'm trying to do is to make it so, when user checks a parent node, its subsequent child nodes are also checked.

cheers!
Jan
Top achievements
Rank 1
 answered on 17 Jul 2008
1 answer
137 views
Hello,

I am trying to add a rad combo box into the custom fields of a raduploader but I'm getting some errors. 

I created a javascript function that adds controls to the custom fields of the rad upload but, in order to put the rad combo box in, I need to call the render method from my server side code.  I wanted to take the html that was produced in the render and put it in the table cell's inner html.  The problem is that the combo box render method returns javascript functions that don't seem to work.

The error I get is: "'RadControlsNamespace' is Undefined"

The generated javscript looks like this:
"

cell.innerHtml = <div id=

"ctl02_wrapper" style="display:inline">
<!-- 2.8.4 --><script type=
"text/javascript" src="/WebResource.axd?d=kMNCn9DBFwUZ2PT3nr9Q8nKTfGxfqM3IzFnt6T4kZDu4u6ciNTtF77By2rZgy2esxjRhzIOLrLIYf5J1XBkdPBu0RcNwEvenr7LitxYGTM_9zU--1dBU2yjkl0u2Qlf70&amp;t=633512827776734358"></script><div class="ComboBox_Default" id="ctl02" style="display:inline; white-space: nowrap;"><input type="text" id="ctl02_Input" name="ctl02_Input" value="" class="ComboBoxInput_Default" style="width:150px;" readonly="readonly"></input><img alt="" id="ctl02_Image" src="/WebResource.axd?d=kMNCn9DBFwUZ2PT3nr9Q8nKTfGxfqM3IzFnt6T4kZDu4u6ciNTtF77By2rZgy2eso7GBTTPlY_CgFW08xP6ilOK6Ftuf4jEzx__hxukw6JIsIH6jBcz5cAnBp-6BP6X10&amp;amp;t=633512827776734358" class="ComboBoxImage_Default"></img><div id="ctl02_DropDownPlaceholder" style="position:absolute; display: none; z-index: 300;" class="ComboBoxDropDown_Default"><div id="ctl02_DropDown" style="overflow:auto;white-space:normal;"></div></div><span id="ctl02StyleSheetHolder" style="display:none;"></span><script type="text/javascript">RadControlsNamespace.AppendStyleSheet(false, 'ctl02', '/WebResource.axd?d=kMNCn9DBFwUZ2PT3nr9Q8nKTfGxfqM3IzFnt6T4kZDu4u6ciNTtF77By2rZgy2eso7GBTTPlY_CgFW08xP6ilLUVz9i9yv34zs8tlQJer5FL-YYvN_lmRn81TOiDQ9Yu0&amp;t=633512827776734358');"

Below is some of the code:

private string GetJavascript()

{

RadComboBox cbo = new RadComboBox();

cbo.SkinsPath =

"";

this.Controls.Add(cbo);

StringWriter strWriter = new StringWriter();

HtmlTextWriter writer = new HtmlTextWriter(strWriter);

cbo.RenderControl(writer);

string cboRender = strWriter.ToString();

this.Controls.Remove(cbo);

string javascript = "";

javascript =

@"function addTitle(radUpload, args)

{

var row = args.Row;

var cell = row.insertCell(-1);

var text = document.createElement('span');

text.innerHTML = 'Title: ';

cell.valign = 'bottom';

cell.appendChild(text);

cell = row.insertCell(-1);

var title = document.createElement('input');

title.id = title.name = radUpload.GetID('title');

cell.appendChild(title);

cell = row.insertCell(-1);

cell.innerHtml = "

+cboRender+@";

}"

;

return javascript;

}

I would appreciate any information I could get on this.

Thanks,
Dale

Erjan Gavalji
Telerik team
 answered on 17 Jul 2008
1 answer
136 views
Hi,

How can we specify Font Name and Font Size for the Editor in the Toolsfile. We are using ASp.NET AJAX Rad Editor Q12008 SP1.

Our file is

<?

xml version="1.0" encoding="utf-8" ?>

<

root>

<

tools>

<

tool name="Bold"/>

<

tool name="Italic"/>

<

tool name="Underline"/>

<

tool separator="true"/>

<

tool name="InsertOrderedList"/>

<

tool name="InsertUnorderedList"/>

<

tool name="Outdent"/>

<

tool name="Indent"/>

<

tool name="FormatBlock"/>

<

tool separator="true"/>

<

tool name="FontName"/>

<

tool name="FontSize"/>

<

tool name="ForeColor"/>

<

tool name="BackColor"/>

<

tool separator="true"/>

<

tool name="LinkManager"/>

<

tool name="Unlink"/>

</

tools>

</

root>

regards,

Parimal

George
Telerik team
 answered on 17 Jul 2008
1 answer
243 views
I notice that the RadEditor, instead of actually doing a cut, copy or paste operation will just tell the user to press CTRL-X, etc. Is there a way to activate the functionality of these buttons? Is there a reason why this was not implemented?

Chris Poirier
Sequiter Software Inc.
Rumen
Telerik team
 answered on 17 Jul 2008
1 answer
174 views

I need to access the Rows collection of the RadGrid on the client-side in javascript.

I know this can be done usually by doing:

var row = this.Rows[rowIndex];

...but only if you invoke the javascript directly from the grid...
What do I do if I need to access the rows collection and I've declared the grid like this:

var grid = document.getElementById('gvGrid');

var row = ??????

?

Thanks
AndyL

Shinu
Top achievements
Rank 2
 answered on 17 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?