Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 views
I have the strangest thing happening with my url. I have been testing a new website in QA, and I noticed that every time I use a Telerik RadMenu I get an extra folder in the url. I have my QA website hosted on godaddy and the url is www.programguy.com. This website resides in a folder called "programguy". When I traverse this website, every thing appears to be working normally and the url looks normal, i.e. www.programguy.com/default.aspx would be an example of the url. However, when I use the RadMenu the url changes to www.programguy.com/programguy/default.aspx. Can anyone give me some insight on how to correct this?

William
Peter
Telerik team
 answered on 27 Oct 2011
1 answer
78 views
Hello!
I faced the following throuble with RadSplitter:
When i resize the splitter by invoking in OnClientLoad handler or in window.resize handler like this 
var splitter =  $find('<%= mainSplitter.ClientID %>');
splitter.set_width($(window).width()-34);
splitter.set_height($(window).height() - 114);

The sliding pane starts slide in and out when i try to show it (by hovering the related tab in sliding zone) and slides so until i click outside the splitter or the pane few times, sometimes it stops if i click on the tab again. When i resize window vertically and invoke splitter resizing javascript by handling window.onresize, the horro surely starts. Somestimes it can start after horizontal rsize, but not sure how all this related to each other.

My markup is like this:
<Telerik:RadSplitter runat="server" ID="mainSplitter" LiveResize="false" OnClientLoad="InitSplitter" Width="640px"><br>    <Telerik:RadPane runat="server" ID="leftPane" Scrolling="None" Width="25px" ><br>        <Telerik:RadSlidingZone runat="server" ID="mainSlidingZone" Width="25px"><br>            <Telerik:RadSlidingPane ID="projectsPanel" runat="server" Title="Projects"  Font-Size="14pt" Width="300px"><br>                <Telerik:RadAjaxPanel runat="server" ID="leftTreePanel" Width="300px"><br>                    <Telerik:RadTreeView runat="server" ID="leftTree" AllowNodeEditing="false" AppendDataBoundItems="false" <br>                        DataFieldID="Key" DataFieldParentID="Key"<br>                        MultipleSelect="false" EnableDragAndDrop="false"<br>                        MaxDataBindDepth="2" SingleExpandPath="true"<br>                        CausesValidation="false" OnClientNodeClicked="ClientNodeClick"<br>                        OnNodeExpand="POExpand"><br>                    </Telerik:RadTreeView><br>                </Telerik:RadAjaxPanel><br>            </Telerik:RadSlidingPane><br>        </Telerik:RadSlidingZone><br>    </Telerik:RadPane><br>    <Telerik:RadSplitBar runat="server" Width="5px" /><br>    <Telerik:RadPane runat="server" ID="currentItemsPane" Width="610px"><br><div>     <!-- Main Grid with other content in Ajax panel is placed here. --></div>     </Telerik:RadPane><br></Telerik:RadPane>

Best regards,
Konstantin
Dobromir
Telerik team
 answered on 27 Oct 2011
1 answer
99 views
The grid data is being displayed properly when I'm running my app on localhost but after I've uploaded it to our development server the grid doesn't return any data at all.

 

 

 

 

 

protected void radBtnSearch_Click(object sender, EventArgs e)
    {
        radGridLastName.Rebind();
    }

The SQL query is on the ASP side of things.  Any insight would be appreciated.

Andrey
Telerik team
 answered on 27 Oct 2011
9 answers
211 views
Hi,
I have a combobox with MarkFirstMatch="true" AllowCustomText="true"
filled with numbers 1, 3,5,7,...29
When i start enter and type 21 - I get item 21 selected, this is expected
But when i want to type 13 - after I enter 1 cursor jumps to the start position of input box and after I enter 3 i get 31 instead.

How to fix this?

Thank you
Alex

Simon
Telerik team
 answered on 27 Oct 2011
1 answer
79 views
Hi ,

I need to drag an item from RadTreeView and place it in the group Panel of a radgrid in RadTreeView1_NodeDrop event  and grouping should be done accordingly . I am binding the Columns dynamically to the radgrid not in design time . Could you please send me a sample for this?

My requirement is same as : http://www.telerik.com/community/forums/aspnet-ajax/ajax/drag-columns-to-grid-group-panel-and-grid-separetly.aspx


Regards
Radhika

Marin
Telerik team
 answered on 27 Oct 2011
1 answer
73 views
Hi,

I am newbie. I have used RadTabStrip having more than five tabs in it, and pageview control as many tabs are. The question is, could I do something like create separate or sub class for each pageview and assign different panel within that classes respectively and then on the main page I just create an object of that class and attached it with RADTABSTRIP (MultiPage).

Actually, I did such a things in Java, i.e. create JInternalFrames in separate class and call them into main class, but could I use same approach with ASP.NET and RADTRAPSTRIP or should I have to initialize all the components on the same page, or if you have any better suggestion regarding this then please let me know.

Regards and Thanking in Advance.

M.A.Bamboat
Peter
Telerik team
 answered on 27 Oct 2011
2 answers
816 views
Hi,
how to check that at least one item is selected in a RadComboBox? My RadComboBox allows just single selection and I want to check that user has selected one item which is needed for next/related user input control (RadListBox) will be loaded with data (from code behind). Meaning I will check that at least one item is selected from code behind method RadComboBox_SelectedIndexChanged and if one item is checked load data into next/related RadListBox.

Why isn't there a method RadComboBox.SelectedItems.Count as there is for example RadListBox?

I have EmptyMessage set to '--- Select ---' in RadComboBox. Can I use this in some way?

Rgds,
Jesper 
Jesper
Top achievements
Rank 1
 answered on 27 Oct 2011
3 answers
292 views
I'm using the ScriptManager and StyleSheetManager controls to combine multiple JS and CSS files into 1 request.  That all works as expected when the JS and CSS files are static content files bundled with the deployment.

However, I would like to start using the same technique to include dynamic JS and CSS content that is generated by the server.  Think of it like including an ASPX page as one of the StyleSheetReference objects (although I tried this and it doesn't work by default).

Does anyone know how to do this?

Thanks,
Kevin
Simon
Telerik team
 answered on 27 Oct 2011
6 answers
271 views
Hi,

I have added the code below to the ItemDataBound event of a grid for which I want users to be able to select 100 as the Page Size. This works, but now I find that when I select this new item the grid does not do a postback and refresh. Could you please advise?

Thanks
Chris

            if (e.Item is GridPagerItem)
            {
                RadComboBox PageSizeCombo = (RadComboBox)e.Item.FindControl("PageSizeComboBox");
                RadComboBoxItem extraItem = new RadComboBoxItem("100", "100");

                if (!PageSizeCombo.Items.Contains(extraItem))
                {
                    PageSizeCombo.Items.Add(extraItem);
                }
            }
Princy
Top achievements
Rank 2
 answered on 27 Oct 2011
3 answers
147 views
Do the AJAX controls have an equivalent to the silverlight speedometer? I would like to create one, but I don't own the silverlight controls and frankly, since microsoft is moving toward html5, I don't want to require my users to have silverlight to see this page. Is there any ajax equivalent? Either a straight up speedometer, or some other control that could work in a similar function? I really only need a static speedometer i.e. I would set a min and max value, and then fill it either with a color, or move a pointer to the appropriate spot within that speedometer. It would not need to be dynamic. Any ideas?
Sebastian
Telerik team
 answered on 27 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?