Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
565 views
Is there any way to execute radconfirm and radprompt through codebehind in VB??
I need to re-use the variable that will be entered/clicked by the user.
Fiko
Telerik team
 answered on 05 Aug 2009
3 answers
166 views
Hello ,

I want to customize messages like “DirectoryAlreadyExists”,
filesize limit messages, delete confirm messages , file exists messages.

Could you please tell me how to change that?

Thanks,
Amol



Fiko
Telerik team
 answered on 05 Aug 2009
3 answers
640 views
Hi,
in this live demo http://demos.telerik.com/aspnet-ajax/window/examples/dialogreturnvalue/defaultcs.aspx you  opening a dialog from another dialog and ensuring the communication between them and the parent page.
But you are using "normal controls"  without masterpage eg.

<input type="text" style="width: 100px;" id="cityName" value="Sofia" /> 

My question is how to send value to asp.net control which has a code:

<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> 
When I looked at the source code on the actual webpage the textbox id changed from TextBox1 to ctl00_EditPH_TextBox1.
Why id is changed (master pages?)?
Therefore I can't use javascript function (error):
function populateCityName(arg)  
        {  
           var cityName = document.getElementById("TextBox1");  
           cityName.value = arg;  
        } 

It works fine when I wrote: getElementById("ctl00_EditPH_TextBox1").
But I have lots controls and look every time to source page is annoying.
How to avoid this?
Fiko
Telerik team
 answered on 05 Aug 2009
1 answer
176 views
Hi,

I just recognized that the RadScripManager does not support CodeAssist for Services registered with RadScriptManager.
When I use ScriptManager I get Code assist. After reading a little bit in your documentation I see that this is missing feature. So I think I gonna start using ScriptManager for development instead of RadScriptManager.
Could this be a drawback for me?
What does RadScriptManager better than ScriptManager? Should i use ScriptManager for development and than before we go productive switch back to RadScripManager?

Thank you

Alex
Atanas Korchev
Telerik team
 answered on 05 Aug 2009
1 answer
106 views
Hi,

1) Can anyone tell me how to bind a radlistbox to a list<class>.

I have a list<class>.
I need to bind listbox to it?? how do i implement this in c#

listbox1.datasource = ??
listbox1.???
Pls do help me with code.

2) also can anyone tell me how to bind radlist box to an enum???

Thanks,
ZR
Atanas Korchev
Telerik team
 answered on 05 Aug 2009
2 answers
143 views
Hello,

I have a splitter control in the RadAjaxPanel to split the overview and the detail / edit of the selected item from the grid.
I have 2 panes, one of them is for grid of the overview, second one is for used to show details and edit the selected item from the grid.
I show the details when an item is selected from the grid of the overview. There is a button to show the edit for for the current item.
When i click on the edit button Splitter is collapsed to hide the grid and i show the edit form. After the submit action of the form Splitter is expanded and details are there for the current item again.
*Problem is here right now*
When i click on another item from the grid, I got the details of it but first pane is disappeared.

I removed the RadAjaxPanel, but still same problem is there. Do you have any ideas ?

Thank you
Svetlina Anati
Telerik team
 answered on 05 Aug 2009
1 answer
137 views
I'm having a problem when an ajax called is made and the update occurs.  I'm using JQuery Tabs in the left margin of the page and when the ajax call is made, the tabs get messed up even though they're not involved in the panel being updated.  Also causes the crumbtrails to be moved a little on the page.  

The page where you can see this happening is:

http://216.205.129.69/category/pressure-gauges/process-gauges.aspx .  

Go to that page and notice how the tabs look at first.  Then select one of the six filter drop down boxes in the middle of the page above the product list. You'll see the ajax do it's job but once that happens, look at what happens to the JQuery tabs and the crumbtrail.

I'm guessing it has something to do with CSS or JS files being reloaded, but I can't figure out how to fix it.  Appreciate your time and help with this.  I'm using the 2009.01.0311.35 version of the Telerik controls.

Thanks,
Kevin

Nikolay Rusev
Telerik team
 answered on 05 Aug 2009
6 answers
193 views
Hi,

I have set the menu width to be 100%. This ensures that the menu stretches to the entire page width. However, I have only 4 menu items. By default, they appear to be left justified and I am not able to get it center justified and increase their width so that it looks a bit more consistent and nice (e.g. the same implementation as the menu on your website homepage).

Is there a way to accomplish this?

Regards,
Saurabh
Atanas Korchev
Telerik team
 answered on 05 Aug 2009
1 answer
117 views
Hi All,
I have Loading Panel control in my page. I have RadGrid. There are search button on top of the grid and some grid command item.  I want to show the loading panel next to AJAX initiator, button, etc. Following is my code. But Loading Panel is always show on top and centre of Panel "Panel1". How do i positioning my Loading Panel?

<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
                         <ClientEvents OnRequestStart="RequestStart"></ClientEvents> 
                            <AjaxSettings> 
                               <telerik:AjaxSetting AjaxControlID="rgFCCOffice"> 
                                   <UpdatedControls> 
                                       <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                   </UpdatedControls> 
                               </telerik:AjaxSetting> 
                               <telerik:AjaxSetting AjaxControlID="rtbtnFilter"> 
                                   <UpdatedControls> 
                                       <telerik:AjaxUpdatedControl ControlID="Panel1" 
                                           LoadingPanelID="RadAjaxLoadingPanel1" /> 
                                   </UpdatedControls> 
                               </telerik:AjaxSetting> 
                            </AjaxSettings> 
                        </telerik:RadAjaxManager> 
 
<asp:Panel ID="Panel1" runat="server"> 
                        <telerik:RadGrid ID="rgFCCOffice"  runat="server" AllowPaging="True" AllowSorting="True" 
                            AutoGenerateColumns="False" Skin="Office2007" 
                            Width="97%" ShowStatusBar="True"  
                            AutoGenerateEditColumn="false"  
                            onneeddatasource="rgFCCOffice_NeedDataSource"  
                            onitemdatabound="rgFCCOffice_ItemDataBound"  
                            oninsertcommand="rgFCCOffice_InsertCommand"  
                            onupdatecommand="rgFCCOffice_UpdateCommand" ShowFooter="false"  
                             AllowMultiRowSelection="True" CellPadding="1" CellSpacing="1"> 
                             
                        </telerik:RadGrid> 
                        </asp:Panel> 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Height="75px" Width="75px"> 
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>' style="border:0;" /> 
    </telerik:RadAjaxLoadingPanel> 
<script type="text/javascript"> 
    function RequestStart(sender, eventArgs) { 
        var divElementStyle = document.getElementById("<%=RadAjaxLoadingPanel1.ClientID%>").style; 
        divElementStyle.position = 'absolute'; 
        //position the loading panel 
        divElementStyle.left = eventArgs.get_eventTargetElement().offsetLeft + "px"; 
        divElementStyle.top = eventArgs.get_eventTargetElement().offsetTop + "px"; 
    } 
   </script> 
Pavlina
Telerik team
 answered on 05 Aug 2009
2 answers
167 views

Below is the code i have created and wanted to group it based on "name" column. But i am not able to group it and normal values are being rendered in the grid...

 RadGrid radGrid1 = new RadGrid();  
        radGrid1.ID = "radgrid1";  
          
 
 
          
        radGrid1.DataSourceID = "SqlDataSource1";  
        radGrid1.GridLines = GridLines.None;  
 
        GridTableView gridTableView = new GridTableView(radGrid1);  
        gridTableView.GroupsDefaultExpanded = true;  
        gridTableView.DataSourceID = "SqlDataSource1";  
 
        GridGroupByExpression expression = new GridGroupByExpression();  
        GridGroupByField gridGroupByField = new GridGroupByField();  
        gridGroupByField = new GridGroupByField();  
        gridGroupByField.FieldName = "name";  
        gridGroupByField.HeaderText = "Name";  
        expression.SelectFields.Add(gridGroupByField);  
 
        gridGroupByField = new GridGroupByField();  
        gridGroupByField.FieldName = "name";  
        gridGroupByField.HeaderText = "Name";  
        expression.GroupByFields.Add(gridGroupByField);  
 
        gridTableView.GroupByExpressions.Add(expression);  
        this.Controls.Add(radGrid1); 

Thanks a million in advance.
Ali Akbar
Top achievements
Rank 1
 answered on 05 Aug 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?