Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
126 views
I have a Radgrid with two associated combos.
I was trying to implement the code as given in this example :
http://www.telerik.com/help/aspnet/combobox/combobox_clientdatastring.html

Can you guide me how to use this for combos inside the grid.
I would greatly appreciate if you could give a working example. I have spend a lot of time on the dependent combos , implementing it one way or the other but nothing reaches as far as I would like them to.

this solution seems to be perfect for my scenario, just I am unable to implment it inside the grid.
Yana
Telerik team
 answered on 15 Aug 2008
1 answer
98 views
When I try to upload a 2,887,421 bytes gif I get this error :S
Rumen
Telerik team
 answered on 15 Aug 2008
12 answers
410 views
i am using custom skin in gridview
where should i give path of my skin
like in old version their skinpath property
but not finding in new version
how could i set my own skin for gridview

Konstantin Petkov
Telerik team
 answered on 15 Aug 2008
2 answers
133 views
I'm trying to replicate the example shown here:
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/AlphabeticPaging/DefaultCS.aspx

[code]

protected

void grdGlossary_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)

{

if (e.Item is GridPagerItem)

{

GridPagerItem pagerItem = (e.Item as GridPagerItem);
pagerItem.PagerContentCell.Controls.Clear();

for (int i = 65; i < 65 + 25; i++)

{

LinkButton linkButton1 = new LinkButton();
LiteralControl lc = new LiteralControl("&nbsp;&nbsp;");
linkButton1.Text =
"" + (char)i;
linkButton1.CommandName =
"alpha";
linkButton1.CommandArgument =
"" + (char)i;
pagerItem.PagerContentCell.Controls.Add(linkButton1);
pagerItem.PagerContentCell.Controls.Add(lc);

}

LiteralControl lcLast = new LiteralControl("&nbsp;");
pagerItem.PagerContentCell.Controls.Add(lcLast);
LinkButton linkButtonAll = new LinkButton();
linkButtonAll.Text =
"All";
linkButtonAll.CommandName =
"NoFilter";
pagerItem.PagerContentCell.Controls.Add(linkButtonAll);

}

}

protected void grdGlossary_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)

{

String value = null;
switch (e.CommandName)

{

case ("alpha"):
{

value =

string.Format("{0}%", e.CommandArgument);
break;

}

case ("NoFilter"):
{

value =

"%";
break;

}

}

sqlGlossary.SelectParameters[

"PageLetter"].DefaultValue = value;
grdGlossary.Rebind();

}

[code]

[code]

<

telerik:RadGrid ID="grdGlossary" runat="server" AllowPaging="True" DataSourceID="sqlGlossary"

GridLines="None" OnItemCommand="grdGlossary_ItemCommand" OnItemCreated="grdGlossary_ItemCreated"

PageSize="20" Skin="Vista">

<PagerStyle AlwaysVisible="True" Mode="NextPrevAndNumeric" />

<MasterTableView AutoGenerateColumns="False" DataKeyNames="ID" DataSourceID="sqlGlossary"

GridLines="None">

<RowIndicatorColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</RowIndicatorColumn>

<ExpandCollapseColumn>

<HeaderStyle Width="20px"></HeaderStyle>

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn DataField="Term" HeaderText="Term" SortExpression="Term"

UniqueName="Term">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Definition" HeaderText="Definition" SortExpression="Definition"

UniqueName="Definition">

</telerik:GridBoundColumn>

</Columns>

</MasterTableView>

<FilterMenu EnableTheming="True">

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

</FilterMenu>

</telerik:RadGrid>

<asp:Label ID="lblGlossaryFilter" runat="server" Visible="false" Text="%"></asp:Label>

<asp:SqlDataSource ID="sqlGlossary" runat="server" ConnectionString="<%$ ConnectionStrings:XX %>"

SelectCommand="GetGlossaryAll" SelectCommandType="StoredProcedure">

<SelectParameters>
<asp:Parameter Name="PageLetter" DefaultValue="%" />
</SelectParameters>
<SelectParameters>
</asp:SqlDataSource>

[/code]

The initial page with "A" selected loads fine.  However, when I click on any of the other page letters the grid does not rebind.  Any ideas?

Yavor
Telerik team
 answered on 15 Aug 2008
1 answer
240 views
I am posting this solution in case someone else encounters this problem.

I was receiving the error "Spell Check Handler Server Error:500  Invalid length for a Base-64 char array." whenever the editor spell check button was clicked.

The problem turned out to this line in Web.config:
<globalization requestEncoding="utf-8" responseEncoding="ascii" />

This was left over from the Netscape 4.x days.  NS4 used to display text as squares afer a window was moved over the browser, if UTF-8 enconding was used.

Changing the line to this solved the problem:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />

Gavin
Rumen
Telerik team
 answered on 15 Aug 2008
1 answer
138 views
Any chance of getting the radcombobox to allow multiple selections?  I have read the articles on how to do some work arounds but none of them work in my scenarios.

Thanks

-Brent
Veselin Vasilev
Telerik team
 answered on 15 Aug 2008
43 answers
531 views
I see that some skins (Default2006 and Mac) have been marked as obsolete. What exactly does this mean? Will they be "supported" for a while or should be dump them asap?

It'd also interesting to know why you guys picked these two. OK, I can understand Mac (sort of) but why Default2006? Looking at the current skins we have blue based skins (Inox, Office2007, Outlook, Vista, Web20, and WebBlue), then silver (Default 2006, Mac, and Telerik -- sort of) and then the new ones Hay and Sunset. Point being that for a site that has light colors our only option left is Telerik? I personally liked Default2006, it was/is the simplest of all of them and the easiest to fit in (from a UI pov)...
Dimo
Telerik team
 answered on 15 Aug 2008
2 answers
101 views
I have a RadComboBox that gets its data from a webservice using the method described here:
http://www.telerik.com/help/aspnet-ajax/combo_loadondemandwebservice.html

I have set the Combo box to:
ShowMoreResultsBox = true
EnableVirtualScrolling  = false

And when I respond to the combo box's request for items, I always send all of the data (no paging) and I set the value of RadComboBoxData.EndOfItems = true.

For some reason, no matter what I do, the users can still click on the "MoreResultsBox", even though I've indicated there are none.  This causes me to append the exact same results again to the combo box.

Is this by design?  If so, so you have a suggestion for getting what I want here?  I'm trying to use the MoreResultsBox as a notification area for displaying things like "No Results" and those kinds of things, but I don't want to do paging in this combo box.

Thanks.
Veselin Vasilev
Telerik team
 answered on 15 Aug 2008
1 answer
94 views
I need to determine at run-time if a node that is selected has any children. Is there an easy way to achieve this using the RadTreeView?

Thanks!

Paul
Erjan Gavalji
Telerik team
 answered on 15 Aug 2008
1 answer
167 views

I’ve got a RadTreeView with checkboxes. The tree has a total of 167 nodes. A single parent node owns about 30 child nodes and each of the children has one or more children.  The deepest node in the tree is only 3 levels deep. The RadTreeView is setup with,  

CheckChildNodes="true"

TriStateCheckBoxes="true"

When I “check” the single parent node it takes about 4-5 seconds for all the other nodes in the tree to become checked. While the user is waiting there is no feedback that the system is working so users often clicks multiple times causing further delay and annoyance with the application.

Is there some method for giving the user feedback that the system is working?

Is there some method for ignoring clicks on the RadTreeView while the system is working?

Erjan Gavalji
Telerik team
 answered on 15 Aug 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?