Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
141 views
Hi
I ahve a grid .
I want to bind this grid woth the help of Datatables.

on Load grid will be empty.
after click a button which is outside the grid,a popup will open and in this popup i have a radcombobox.
i will select  an item and will click on the add button.
the selected item should be added to the grid  with five columns.
the first column should be the item selected and remaining columns should be blank.
no when i added this row there will be a link corresponding to this row.i will click on that link a new popup will open and that popup containds grid ,iwill select some rows from the grid and will click on the add button.
the selected rows should be added in the detailtable of the grid.
Pleas help me in this.

THNAKS IN ADVANCE
Veli
Telerik team
 answered on 16 Jul 2009
4 answers
152 views
Hello.

How can I programatically change PegerText in "NextPrevAndNumeric" mode?
I know I should use PagerTextFormat property.
But the nothing is happaned when I change it.
For example I want to change text "91 items in 19 pages" on "91 #items in# 19 #pages#  "
See link http://www.telerik.com/help/aspnet-ajax/grdpageritem.html

Thank you.
Alex R.
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
161 views
Hi,

I was wondering if anyone could help with the issue I'm having. If I have varying dock heights in horizontal orientation, and I reduce the size of the browser window, the docks wrap around to the next line, but aren't flushed against the dock directly above it i.e. there's additional vertical spacing.

I could obviously float the docks to position them myself, but docking them is so much neater and requires less effort for the user.

Thanks
Mark

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="dockexample.aspx.vb" Inherits="dockexample" %> 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head id="Head1" runat="server"> 
<style type="text/css">   
.RadDock 
{ 
    margin: 0px 5px 5px 0px !important; 
} 
</style> 
<title></title> 
 </head> 
<body> 
    <form id="form1" runat="server">    
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
               
       <telerik:RadDockLayout runat="server" ID="RadDockLayout1" StoreLayoutInViewState="true"> 
       <telerik:raddockzone runat="server" id="RadDockZone1" Width="100%" Orientation="Horizontal" BorderStyle="None"> 
         <telerik:RadDock ID="RadDock1" Title="Dock 1" runat="server" Width="220px" Skin="Vista" DockMode="Docked" DefaultCommands="None"> 
            <ContentTemplate> 
                <div style="padding: 11px;"> 
                    You can drag this object through the titlebar, no custom handle is defined. 
                    You can drag this object through the titlebar, no custom handle is defined.</div> 
            </ContentTemplate> 
        </telerik:RadDock> 
         
        <telerik:RadDock ID="RadDock2" Title="Dock 2" runat="server" Width="220px" Skin="Vista" DockMode="Docked" DefaultCommands="None"> 
            <ContentTemplate> 
                <div style="padding: 11px;"> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                     You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /></div> 
            </ContentTemplate> 
        </telerik:RadDock> 
         
        <telerik:RadDock ID="RadDock3" Title="Dock 3" runat="server" Width="220px" Skin="Vista" DockMode="Docked" DefaultCommands="None"> 
            <ContentTemplate> 
                <div style="padding: 11px;"> 
                    You can drag this object through the titlebar, no custom handle is defined. 
                    You can drag this object through the titlebar, no custom handle is defined.</div> 
            </ContentTemplate> 
        </telerik:RadDock> 
         
        <telerik:RadDock ID="RadDock4" Title="Dock 4" runat="server" Width="220px" Skin="Vista" DockMode="Docked" DefaultCommands="None"> 
            <ContentTemplate> 
                <div style="padding: 11px;"> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.<br /> 
                    You can drag this object through the titlebar, no custom handle is defined.</div> 
            </ContentTemplate> 
        </telerik:RadDock> 
         
        <telerik:RadDock ID="RadDock5" Title="Dock 5" runat="server" Width="220px" Skin="Vista" DockMode="Docked" DefaultCommands="None"> 
            <ContentTemplate> 
                <div style="padding: 11px;"> 
                    You can drag this object through the titlebar, no custom handle is defined.</div> 
            </ContentTemplate> 
        </telerik:RadDock> 
         </telerik:raddockzone> 
        </telerik:RadDockLayout> 
    </form> 
</body> 
</html> 
Jim
Top achievements
Rank 1
 answered on 16 Jul 2009
1 answer
186 views
hi ,
    i had create one editable grid with popup edit template. But i am Unable to increase the width of the popup width.please help.

regards,
Bala.K
Princy
Top achievements
Rank 2
 answered on 16 Jul 2009
3 answers
269 views
I am wanting to have dock With Scroll and With Out scroll as configurable.  I have designed a Page to configure this height, width and scroll settings for each dock items. This docks are created dynamically during run time and the content is shown in the iframe. The height, width and scroll values is applied to both iframe and dock control as per this configurations but could not achieve the desired results.

as suggested in one of the forums, i included the following code to avoid scrolling for a particular dock.

dock.ContentContainer.Style.Add(HtmlTextWriterStyle.Overflow, "hidden"); 

The above code works fine but when we drag the dock, the scroll appears again. as suggested in another forum, i added the following overriding rdcontent code in ASPX but it makes all the docks as non scrollable.

<style type="text/css">    
    .rdContent  
    {     
        overflow: hidden !important;  
    }   
</style> 
Pero
Telerik team
 answered on 16 Jul 2009
3 answers
445 views
Hi;
I use GridBoundColumn in radgrid and edit like
this (http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx) page.

But I want to change a textbox's size or I want to do textbox multiline.

How can i do that ?
Princy
Top achievements
Rank 2
 answered on 16 Jul 2009
2 answers
320 views
Hi All,

I am yet a trial version user of telerik controls. When I am using it I found an issue as mention below.
My item list is popuplated with a item like 'Investment in Land &amp; Building'
When I select that, it display the text as 'Investment in Land & Building' (This is my exact item text coming from DB)
But when I try to read the property of SelectedItem, it indicates it is NULL. But only Text property filled with the correct selected item's text. And even SelectedIndex is -1.
I believe telerik dropdown control may be using that special character (&), but I am not sure. But I was able to get over the issue by doing some manual check of finding the SelectedItem with Server.HtmlEncode as follows.
eg.(C# Code)
   cmbGlCode.SelectedIndex = cmbGlCode.Items.IndexOf(cmbGlCode.Items.FindItemByText(Server.HtmlEncode(cmbGlCode.Text)));

I am reporting this because I like the controls, and my client is going to buy them.

Regards,
Chinthana
Chinthana Jayawardena
Top achievements
Rank 1
 answered on 16 Jul 2009
2 answers
120 views
Hi sir,
I using RadAjaxControl Q1 2009, and in my computer have install VS2008 SP1 and SQL Server 2008,
When I install RadAjaxControl into my computer, it isn't auto add it's compnent into toolBox of VS2008 :(
I try to add it in toolBox bar by in general tab I choose Item, and in .NET FrameWork Component I click Browser to choose Telerik.Web.UI.dll into telerik install folder ( bin35 ), but when I click OK button, Component of RadAjaxControl don't add in toolbox,
I don't know have problem in here.

Please help me !!! Thnks so much !!!
hongnguyenx
Top achievements
Rank 1
 answered on 16 Jul 2009
2 answers
150 views

Hi all,

I using RadAjaxControl Q1 2009, and now I want to develop DNN module using RadScheduler component and RadScriptManager to management ajax action for Scheduler component, but default ScriptManager of DNN is ScriptManager of MS ASP.NET ajax, when I register RadScriptManager, its is conflict.

I have find a article on telerik helps: http://www.telerik.com/help/aspnet-ajax/dnn-replace-scriptmanager-radscriptmanager.html , but I don't use DNN source version to develop, I use Install package to install into my local and develop DNN module on it.

Please help to for problem :( I don't know how to fix it! :( Thnks so much for your helps 

hongnguyenx

hongnguyenx
Top achievements
Rank 1
 answered on 16 Jul 2009
2 answers
134 views

I've been asked to create a webpage to implement single record data view/edit against a SQL Server 2005 database. A key requirement is that the database be updated every time a control is updated (no "Save" or "Apply" buttons). I was told that the Telerik RadControls For ASP.NET AJAX product was purchased to accomplish this requirement. This is my first use of AJAX and any Telerik products. What I'm looking for is guidance on how best to implement this type of page (advice, samples, demos, tutorials, etc).

My initial impulse would be:
* add unbound rad controls to a RadAjaxPanel
* write "FillForm" code to populate the controls from a stored proc via a DataReader
* execute "FillForm" on every PageLoad (to reflect current state of database)
* set all controls to AutoPostBack
* update the database on each PostBack

Is this a viable plan or should I be using some kind of databinding or grid control? Any help for an AJAX newbie is appeciated.

Joni Jeff
Top achievements
Rank 1
 answered on 16 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?