Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
211 views
I have a RadWindow which shows results in Radgrid. I need to pass back the selected row values from the Grid back to the Parent page. How can I do this? If it is not possible what is the best way to achieve this? I have to close the modal window and fill the parent page text fields after clicking on the grid row. Any input is appreciated.
Stuart Hemming
Top achievements
Rank 2
 answered on 12 Oct 2011
2 answers
118 views
Hi,

How do you select or check multiple items?

I am building an application where there will be a standard "view" item in the menu. Then based on which child items are selected I show/hide various columns in a RadGrid. However, I can't seem to select more that one menu item at a time.

Any suggestions?

Jeff
Jeff Paetkau
Top achievements
Rank 1
 answered on 12 Oct 2011
2 answers
121 views
Consider the following code:

<telerik:RadRibbonBar ID="Menu" runat="server" OnButtonToggle="ButtonToggle" />

private void Page_Load(object sender, System.EventArgs e)
{
    if (!IsPostBack)
    {
        String Menu_XML = new XElement("RibbonBar"
                , new XElement("Tab", new XAttribute("Text", "View")
                    , new XElement("Group", new XAttribute("Text", "Columns")
                        , new XElement("ToggleButton", new XAttribute("Text", "test"))))).ToString();
        Menu.LoadXml(Menu_XML);
    }
}
 
protected void ButtonToggle(object sender, System.EventArgs e)
{
}

Produces the following error when you toggle the button

Index was out of range. Must be non-negative and less than the size of the collection.

Parameter name: indexProduces the following error when you toggle the button


However, the following code works as expected:

<telerik:RadRibbonBar ID="Menu" runat="server" OnButtonToggle="ButtonToggle">
    <telerik:RibbonBarTab Text="View">
        <telerik:RibbonBarGroup Text="Columns">
            <Items>
                <telerik:RibbonBarToggleButton Text="Test" />
            </Items>
        </telerik:RibbonBarGroup>
    </telerik:RibbonBarTab>
</telerik:RadRibbonBar>

What am I doing wrong?
Jeff Paetkau
Top achievements
Rank 1
 answered on 12 Oct 2011
4 answers
532 views
Greetings,

I have a problem with comparing the time values in a time pickers using a compare validator. When the form loads with an existing value (e.g 10:00AM & 8: AM in two time pickers) the second time picker should be validated to have a greater time value than the first one. In a new form if we add the time, the validation fires, but not consistently. The validations should be checked on a button click.

Please lend your helping hand.

Thanx in advance.

regards

brian
Top achievements
Rank 1
 answered on 12 Oct 2011
13 answers
208 views
Hello,

I'm receiving an error when selecting Black as a base skin in the Visual Style Builder for the Telerik ASP.NET AJAX. Steps to reproduce:
1) Select the ASP.NET AJAX tab on the Visual Style Builder Website
2) Enter any name into the Skin Name (I used Temp1 or MyStyle)
3) Select "Blacl" as the Base Skin
4) Select TabStrip (or any control)
5) Click "Create"

An error message pops up saying :

Failed to create skin!
A server error has occured.
We have been notified and will try to resolve it ASAP.
Sorry for the inconvenience.

I've tried creating a new skin using Black as a base under IE9, FireFox 5 and Chrome with out success. I also have Silverlight 4 installed, if that information helps. Please assist.

Thanks,
Betty
Cradz
Top achievements
Rank 1
 answered on 12 Oct 2011
0 answers
106 views
Hello,

I have an tree containing multiple nodes with icons. I set the allowDrag on the node, so I can drag the node.
What I want is to allow the user to drag the node grabbing the icon. But I want to prevent the user from dragging the Node by grabbing the text of the node. How can I do this?
Is it possible to identify if the user grabbed the icon or the text and then cancel the dragevent?

Thank you very much

Christian
Christian
Top achievements
Rank 1
 asked on 12 Oct 2011
2 answers
66 views
In the timeline view, I have the slots set to 1 hour.  The appointments which are 2 hours long only show in the first slot and are missing the "grip" and right-side rounded border.

I have attached a screenshot.  Notice that appointment #566 is one hour long, but #567 is supposed to be two hours.
Chet
Top achievements
Rank 1
 answered on 12 Oct 2011
1 answer
124 views

I have several RadTreeViews, some whose nodes are static and some whose nodes use TreeNodeExpandNode.WebService to load the nodes on demand. The number of TreeViews is dynamic, and thus I need to build them from scratch in codebehind (RadTreeview tree1 = new RadTreeview()).

My page has a Submit button which causes a postback. Since my trees are dynamic, I am forced to rebuild them for each postback.

The problem is with the node state. On the first postback and subsequent tree rebuilds, the tree is displayed as the user left it (expanded nodes, checked nodes, and all). But if the user submits again, causing a second postback, the tree is collapsed and, if the nodes selected are from a subnode of one using the web service, those checked are not remembered.

Is there something I can do to (a) prevent the trees from collapsing and (b) rememeber all nodes that were checked prior to the postback, no matter how many subsequent postbacks occur?



Tim
Top achievements
Rank 1
 answered on 12 Oct 2011
0 answers
73 views
Never mind, it is an SQLite issue.
Stanley
Top achievements
Rank 1
 asked on 12 Oct 2011
1 answer
187 views
We are in the process of updating an older website to use Master Pages along with Telerik controls. In addition to updating the CSS we have also created a Skin file, in which we have set the desired look/feel of the Telerik controls (for example):

<telerik:RadDatePicker runat="server" Skin="Windows7" /><br>
<telerik:RadAjaxLoadingPanel runat="server" Skin="Windows7" /><br>
<telerik:RadGrid runat="server" Skin="Windows7"><br>
    <PagerStyle PagerTextFormat="{4} {5} Matches Found &nbsp;&nbsp;&nbsp; • &nbsp;&nbsp;&nbsp; Displaying Items {2} to {3} on Page {0} of {1}." /><br>
</telerik:RadGrid><br>
<telerik:RadComboBox runat="server" Skin="Windows7" />

This Skin file has been working perfect in our remodel until we created a Custom User Control (.ascx) with some Telerik controls (RADGrid and Loading Panel). These controls do not get the Skin applied.  If I manually add the Skin attribute in the Source of the .ascx page itself, the controls then look as desired.... but it should be the site-wide Skin file that controls this.

What could possibly be causing this problem?

-- Andrew
Tsvetoslav
Telerik team
 answered on 12 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?