Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
178 views
I am looking to change the web service method via a client side, and was wondering if there is a way to do it. I could not find one myself.

The context I am using it in is alongside a dropdownlist. The combobox searches for records based on the type selected in the dropdownlist. I change the method for when the list changes. I am trying to reduce my server side calls, and would love to be able to handle all this clientside.


Simon
Telerik team
 answered on 19 Jul 2010
1 answer
240 views
I have a very, very basic grid with a nestedviewtemplate and would like for it to be defaulted to be expanded.  I thought that was the default already but it isn't.  What am I doing wrong?

<MasterTableView AutoGenerateColumns="False" DataKeyNames="Main_Category_ID" 
            DataSourceID="sqlCatagoriesMain">
    <NestedViewTemplate>
        <asp:Label ID="lblMainID" runat="server" Text='<%# Eval("Main_Category_ID") %>' 
            Visible="False"></asp:Label>
        <asp:SqlDataSource ID="sqlCategoriesSub" runat="server" 
            ConnectionString="<%$ ConnectionStrings:BiddsConnectionString %>" 
            SelectCommand="SELECT * FROM [Categories_Sub] WHERE ([Main_Category_Link] = @Main_Category_Link) ORDER BY [Sub_Category]">
            <SelectParameters>
                <asp:ControlParameter ControlID="lblMainID" Name="Main_Category_Link" 
                    PropertyName="Text" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
        <telerik:RadGrid ID="RadGrid2" runat="server" AutoGenerateColumns="False" 
            DataSourceID="sqlCategoriesSub" GridLines="None">
            <MasterTableView DataSourceID="sqlCategoriesSub">
                <RowIndicatorColumn>
                    <HeaderStyle Width="20px" />
                </RowIndicatorColumn>
                <ExpandCollapseColumn>
                    <HeaderStyle Width="20px" />
                </ExpandCollapseColumn>
                <Columns>
                    <telerik:GridBoundColumn DataField="Sub_Category_ID" UniqueName="column1" 
                        Visible="False">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Sub_Category" HeaderText="Category" 
                        UniqueName="column2">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Sub_Category_Desc" HeaderText="Description" 
                        UniqueName="column">
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
        </telerik:RadGrid>
    </NestedViewTemplate>
    <ExpandCollapseColumn  Visible="True">
    </ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="Main_Category_ID" DataType="System.Int32" 
            ReadOnly="True" SortExpression="Main_Category_ID" UniqueName="Main_Category_ID" 
            Visible="False">
        </telerik:GridBoundColumn>
        <telerik:GridTemplateColumn DataField="Main_Category" 
            HeaderText="Main_Category" SortExpression="Main_Category" 
            UniqueName="Main_Category">
            <EditItemTemplate>
                <asp:TextBox ID="Main_CategoryTextBox" runat="server" 
                    Text='<%# Bind("Main_Category") %>'></asp:TextBox>
            </EditItemTemplate>
            <ItemTemplate>
                <asp:Label ID="Main_CategoryLabel" runat="server" Font-Bold="True" 
                    Text='<%# Eval("Main_Category") %>'></asp:Label>
                   
                <asp:LinkButton ID="lbAddNew" runat="server" CssClass="toollink">Add New Category</asp:LinkButton>
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="Main_Category_Desc" 
            HeaderText="Main_Category_Desc" SortExpression="Main_Category_Desc" 
            UniqueName="Main_Category_Desc" Visible="False">
        </telerik:GridBoundColumn>
    </Columns>
</MasterTableView>
</telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 19 Jul 2010
1 answer
699 views
Hi there,

I would like to store and restore column widths of a RadGrid from Javascript but unfortunately I can't find a method to set the width of a column. Is there such a function in the client-side API?

Best regards,
V.
Princy
Top achievements
Rank 2
 answered on 19 Jul 2010
1 answer
108 views
Hi,
I have a radtree menu in panel bar that loads dynamically.It located on master page.
When I open a radwindow from content page , immediately the radtree vanishes and dont come back.
Please help I tried lots of things but have no solution.
Georgi Tunev
Telerik team
 answered on 19 Jul 2010
6 answers
96 views

Hi,
 I've been customising the toolbars and going through the instructions quite heavily the last couple of days. I've noticed a few quirks that I'll probably ask a few questions about later, but this one bugs me:

 When changing the following property to 'Default', one of the menu bars is chopped off and the toolbar icon that is supposed to be on the same line is now on the line below.

<property name="ToolbarMode">ShowOnFocus</property> 

 How can I prevent this from happening? The toolbar above and below this are working fine. Changing it back to 'ShowOnFocus' it works normally again.

Thanks,
Jason.
Jason Brownhill
Top achievements
Rank 1
 answered on 19 Jul 2010
1 answer
134 views
Is there a way to place an image in a submit button?
Dimo
Telerik team
 answered on 19 Jul 2010
3 answers
1.0K+ views
Sir,

    How can i get diffrent date format from Date Picker.

For Example if  Date Time Picker Format is "dd/MM/yyyy" and i want to get Its "yyyy/MM/dd" format. How can i get it.


1 more Problem when raddate time picker i set date format "MM/dd/yyyy hh:mm" Then It shows month in single digit format.

Means When Date is "07/15/1986" Then It autometicaly converted "7/15/1986" So i want two digit in month Format.

Please Help Me .

Thanks
Chandan

Radoslav
Telerik team
 answered on 19 Jul 2010
3 answers
91 views
Hi,

Is it possible to use my own buttons outside of the scheduler to switch the scheduler view?

I can hide them using the ShowViewTabs property but I'd like to be able to use my own buttons to fire off the same events that are fired by clicking day/week/month etc

Is this possible?

Cheers
Jon
Peter
Telerik team
 answered on 19 Jul 2010
5 answers
140 views
Hi

I have some reports that i display in RadGrid that takes a while to generate. Therefore i would like to display the page with some "Loading" Html untill the data is ready.

It is unclear to me, from your documentation whether this is supported by default in RadGrid, or if i should wrap the grid control in a RadAjaxLoadingPanel.

Btv. the examples on EnableAJAXLoadingTemplate are outdated API wise.


Kind regards
Sebastian
Telerik team
 answered on 19 Jul 2010
1 answer
132 views

Hi everybody, from Bogota, Colombia.

I have 2 questions about data input using RadGrid control.

I input data to the grid using a template. If I press Enter key, the first record appears into the template, with all their data. I want to know why does it occurs, Has this issue a solution?

My customer wants use Enter key in order to move between screen controls, instead of Tab key. How can I move between controls using Enter key instead of Tab key?

Well, thanks in advance form your answers.

Best regards,

CARLOS ALBERTO CASTILLO.
Bogota, Colombia.

PS: Please, forgive mistakes you find here. English is a foreign languaje to me. 

Mira
Telerik team
 answered on 19 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?