Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
Telerik Support Team,

We have an ADO.NET service which is hosted on a server. I would like to use a grid and bind it client-side using a data binding feature explained in one of the posts on the Telerik site. The grid should not be bind on load but should be bind when a user selects a value from a ComboBox. I know there is a support for filter options in a Data Service but don’t know how to get stated with it since there is no documentation found on your website.

Please advise how this can be achieved.

Thanks,

Ronak
Antonio Stoilkov
Telerik team
 answered on 24 Feb 2012
3 answers
1.1K+ views
Is there a way to specify multiple data text field columns?  It would also be nice to beable to use the format string.  Some thing like this:

DataTextField

 

="ratecode;description" DataTextFormatString="{0} - {1}" DataValueField="rateid"

 

Ivana
Telerik team
 answered on 24 Feb 2012
2 answers
139 views
I was wondering if it is possible to add appointments in the MonthView where the user has selected (highlighted) a few days.  For example in the picture I have attached, I highlighted Jan 2 - Jan 5.  Is there a property or event that is raised that lets me know if the user has selected several days?

Ivana
Telerik team
 answered on 24 Feb 2012
1 answer
693 views

Hello,
In My Page, I have a dropdown, on selection of a item from this dropdown,a grid on this page gets loaded. this grid has Edit buttons. I will edit the data in this grid and then save. On Successful save, I want to display a pop up sasying that data update was successful. If unsuccesful, then I will say it was not.

I have a bool variable bStatus, this will be true on success, and false on failure. Depending on this, I want to display this pop up.How can I get a pop up window programatically?

Thanks and Regards,
Deepika Karanth

Svetlina Anati
Telerik team
 answered on 24 Feb 2012
1 answer
120 views
Why...why... is it hat since you seperatedthe skins to a seprate dll, it never hets copied to the bin directory by the upgrade wizard..
How hard can this be?

Rumen
Telerik team
 answered on 24 Feb 2012
3 answers
103 views
<asp:Panel ID="PnlFileDetails" runat="server" BorderStyle="Solid" BorderWidth="1px"
            Width="100%">
            <asp:Panel ID="PnlCurrentConntentDetails" runat="server" Width="100%">
            <table style="width: 100%">
                    <tr>
                        <td style="border: 1px solid">
                            <telerik:RadGrid ID="dgCurrentContentDetails" runat="server" AllowMultiRowSelection="True"
                                Skin="SLB" CellSpacing="1" CellPadding="3" BorderStyle="Solid" BorderWidth="0px"
                                Width="100%" Height="300px" AutoGenerateColumns="False" GridLines="None" AllowSorting="True"
                                HeaderStyle-Height="30px" EnableEmbeddedSkins="False" OnItemDataBound="dgCurrentContentDetails_ItemDataBound">
                                <ClientSettings>
                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                    <Selecting AllowRowSelect="true" />
                                    <ClientEvents OnRowSelecting="RowSelecting" OnRowSelected="RowSelected" OnRowDeselected="RowDeSelected" />
                                </ClientSettings>
                                <HeaderStyle Font-Underline="False" Height="30px" />
                                <ItemStyle Wrap="true" />
                                <MasterTableView AllowNaturalSort="true" AllowCustomSorting="true" ShowHeadersWhenNoRecords="true"
                                    NoMasterRecordsText="No files found for the selected product.">
                                    <ExpandCollapseColumn SortAscImageUrl="~/Skins/SLB/Grid\SortAsc.gif" SortDescImageUrl="~/Skins/SLB/Grid\SortDesc.gif">
                                    </ExpandCollapseColumn>
                                    <Columns>
                                        <telerik:GridBoundColumn UniqueName="RuleID" DataField="RuleID" HeaderText="RuleID"
                                            Display="false">
                                            <HeaderStyle HorizontalAlign="Center" />
                                            <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" />
                                        </telerik:GridBoundColumn>
                                   </Columns>
                                </MasterTableView>
                            </telerik:RadGrid>
                        </td>                       
                    </tr>
                </table>
            </asp:Panel>
</asp:Panel>

Hi ,
Above is the code for Rad Grid. I have disabled the PnlFileDetails on the server side. On click of a button , I want to enable the rad grid on the client side. I have written the below code to enable the grid.

document.getElementById('ctl00_CntPlHolder_PnlFileDetails').disabled = false;

 

 

 

document.getElementById('ctl00_CntPlHolder_PnlCurrentConntentDetails').disabled = false;

 

document.getElementById(

 

'ctl00_CntPlHolder_dgCurrentContentDetails').enabled = true;

But the grid is not enabled. Please let me how to enable the grid on the client side(using java script).

 

 

 

 

 

Thanks,
Sudha.

 

Radoslav
Telerik team
 answered on 24 Feb 2012
2 answers
130 views

Hi,

I wanted to 'highlight' previously selected node in my treeview after postback. I was using cookies to retain the treeview state after postback. Everything is working fine except after postback I am seeing parent node highlighted instead of child node.

Please take a look at the images I attached.

Childnode.jpg --> I selected node 'Baseball' and postback occurs
Parentnode.jpg --> I see the 'US Sports' highlighted instead of 'Baseball' node.

Any one?
Dimitar Terziev
Telerik team
 answered on 24 Feb 2012
10 answers
245 views

 

var row = masterTable.get_dataItems()[index];

 

 

 

var cell = masterTable.getCellByColumnUniqueName(row, "ClientSelectColumn");

 

 

 

var chk = cell.getElementsByTagName("input")[0];

 

 

if(chk.checked)

 

 

{

 

....


}


eventhough i select the Check box               chk.checked    is false. 

 

Vinit
Top achievements
Rank 1
 answered on 24 Feb 2012
7 answers
293 views
Hi Telerik Team,

How to select maintab and maintabpage from Child page.

For Example:
I am having MainContentPage.aspx page inside this i have my Tabstrip and MultiPage hierarchy as mentioned below.

<

telerik:RadTabStrip ID="RadToolTabs" SelectedIndex="0" runat="server" MultiPageID="radMultiPage">

     <Tabs>

         <telerik:RadTab runat="server" Text="Products " SelectedIndex="0">

             <Tabs>

                 <telerik:RadTab Text=" Lux " SelectedIndex="0"></telerik:RadTab>

                 <telerik:RadTab Text=" Santoor "></telerik:RadTab>

             </Tabs>

         </telerik:RadTab>

         <telerik:RadTab runat="server" Text=" ProductPrice " >
        </telerik:RadTab>

     </Tabs>

 </telerik:RadTabStrip>

 <telerik:RadMultiPage runat="server" SelectedIndex="0" ID="radMultiPage">

     <telerik:RadPageView ID="RadPageView1" runat="server" Height="500px" ContentUrl="Products.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView2" runat="server" Height="500px" ContentUrl="Lux.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView3" runat="server" Height="500px" ContentUrl="Santoor.aspx"></telerik:RadPageView>

     <telerik:RadPageView ID="RadPageView4" runat="server" Height="500px" ContentUrl="ProductPrice.aspx"></telerik:RadPageView>

 </telerik:RadMultiPage>

  

When MainContentPage.aspx page loads, By default the Products tab, Lux tab Selected and Lux.aspx page loaded.
and i am having GoProdcutPrice button in my Lux.aspx Page(Childtab page) , When i click on this button i have to select ProductPrice.aspx page and ProductPrice tab.

How can i achieve this scenario?

Thanks
Shaik Nazeer Hussain

nazeer
Top achievements
Rank 1
 answered on 24 Feb 2012
4 answers
130 views
Hi,
I have quite an intensive database query returning a dataset to a radGrid in the needdatasource.  Depending on what the user selects it could take some time.  Rather than have the previous page continue to try and load and the finally display the page i would like to display the page and have a loading panel inside the radgrid to symbolize its still loading data from the back end.

I have tried many solutions found on this site but with no luck.

Using the ajaxmanager and making a call to the code behind doesn't display the loading panel for long enough it just appears then disappears instantly (setting a minimum time shows it for longer but this wont disappear when the datas loaded).

Also, the below doesn't seem to do as i need it still just waits for ages between loading the page.
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server">
   <AjaxSettings>
       <telerik:AjaxSetting AjaxControlID="rgComparison">
           <UpdatedControls>
               <telerik:AjaxUpdatedControl ControlID="rgComparison" LoadingPanelID="RadAjaxLoadingPanel1" />
           </UpdatedControls>
       </telerik:AjaxSetting>
   </AjaxSettings>
   </telerik:RadAjaxManager>
 
       <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

Help!

Thanks,
Michael
Maria Ilieva
Telerik team
 answered on 24 Feb 2012
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?