Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
167 views
I have a web page that has a series of dropdown controls (12 total). As the user enters/selects a value, they can tab to the next dropdown. When they tab out a dropdown that doesn't have a value (any of the 12), I want the focus to go to a data grid - first row - third cell. The following code, when looking via quick watch, confirms I have the correct row and cell based on the rendered ID when viewing the source. What ends up happing is the focus goes to the second row - first cell. What am I doing wrong?

var masterTable = $find("<%= dgServices.ClientID %>").get_masterTableView();
if (masterTable != '') {
    masterTable.get_dataItems()[0].get_element().cells[2].focus();

The attached jpg shows the flow I want to accomplish.
Antonio Stoilkov
Telerik team
 answered on 05 Apr 2012
1 answer
95 views
Hi

        In my aspx page I have a usercontrol. In this UserControl I have a PanelBar with four  panel items. Each panel items contains different usercontrol ( ASCX ).  In the panel item click I have loaded the usercontrol dynamically in the corresponding panel item. In my page load I have expanded the first panel item as default.  When  i click the second panel item the usercontrol for this panel item  will be loaded but the script inside this usercontrol is not working. Please give any solution for this problem.
Eyup
Telerik team
 answered on 05 Apr 2012
1 answer
141 views
In your documenation for the RadEditor on the following pages, there is a typo.  Each page contains the text "heigh", but is supposed to be "height".

http://www.telerik.com/help/aspnet-ajax/editor-resizing-dropdown-header-and-popup-size.html
http://www.telerik.com/help/aspnet-ajax/editor-auto-resize-height-expanding-editor-height.html
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
1 answer
68 views
I posted a problem in the grid forum, it was deleted, so i guess this is the correct place.
Can you help me run the radgrid on wss 3?
from what i saw the problem is in the scripts in webresource.axd - got
"_events is undefined" on page load and subsequently the grid is missing in the sys.application.components collection.
which in turn breaks the expand/collapse functionality - AJAX $find doesn't find it.
I can provide sample config and source - but they're basically the same as in the self-hierarchy demo, save for
the data bind functionality.
Marin
Telerik team
 answered on 05 Apr 2012
15 answers
623 views
I have a MasterPage where I have added a RadNotification and a RadAjaxManager.

I then have many ContentPages and UserControls where I am using RadAjaxManagerProxy.

I have written a class to handle the RadNotification so that I can send message from anywhere in the app using the RadNotification on my MasterPage.

The problem is I have to add the RadNotification to every since AjaxSetting in the UpdateControls.  If I don't do this, when I call the show() method, it just displays a blank RadNotification in the bottom corner of my screen (I am assuming it is using the default settings).

Is there any way to tell the Master RadAjaxManager, "Hey if ANY RadAjaxManagerProxy causes an async postback, update the RadNotification object as well."
Marin Bratanov
Telerik team
 answered on 05 Apr 2012
5 answers
129 views
Hi,

I want to insert new rows into the radgrid, so that I can bind all the inserted rows finally and show the result into another radgrid below.

I want to implement functionality exactly as "Edit Query in TFS(Team foundation Server)". The inserted rows will always be in edit mode and when I click on some button, the final query will build and the result will be displayed into another grid view.

So please help.

Regards,
Ankit
Somnath
Top achievements
Rank 1
 answered on 05 Apr 2012
14 answers
360 views
Hi,
 I have created a recurring appointment, which has a custom attribute 'Status'.
Now I want to get a specific instance (through code) of this recurring appointment so that its indivdual status can be set to a value. This will allow me to set different status values for different instances for the same recurring appointmnet.
Please tell me how can we achieve this.

Thanks,
Abhishek
Peter
Telerik team
 answered on 05 Apr 2012
1 answer
195 views

i have a user control with rad tool bar button like this

<telerik:RadToolBar ID="RadToolBar1" Runat="server" 
EnableRoundedCorners="True" EnableShadows="True" Width="940px" 
onbuttonclick="RadToolBar1_ButtonClick" onunload="RadToolBar1_Disposed">
<Items>
<telerik:RadToolBarButton CommandName="btn" Text="Add" ImageUrl="../Images/Add.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Update" ImageUrl="../Images/Edit.png" ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Delete" ImageUrl="../Images/Delete.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Refresh" ImageUrl="../Images/Refresh.png" ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Print" ImageUrl="../Images/Print.png" 
ImagePosition="AboveText" Enabled="False" />
<telerik:RadToolBarButton Text="Close" ImageUrl="../Images/Close.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Save As" ImageUrl="../Images/SaveAs.png" 
ImagePosition="AboveText" />
<telerik:RadToolBarButton Text="Itemtemplate">
<ItemTemplate>
<div id="loginAarea" style="margin-left:150px" >
<table style="margin-left: -50px;" >
<tr>
<td >
<telerik:RadTextBox ID="txtUserName" runat="server" Label="Added By" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
<td>
<telerik:RadTextBox ID="txtLastUserName" runat="server" 
Label="Last Updated By" Width="240" Height="16" Enabled="false" 
Font-Bold="True" ></telerik:RadTextBox>
</td>
</tr>
<tr>
<td>
<telerik:RadTextBox ID="txtLoginDate" runat="server" Label="Date:" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
<td>
<telerik:RadTextBox ID="txtLastLoginDate" runat="server" Label="Date:" 
Width="240" Height="16" Enabled="false" Font-Bold="True" ></telerik:RadTextBox>
</td>
</tr>
</table>
</div>
</ItemTemplate>
</telerik:RadToolBarButton>

</Items>
</telerik:RadToolBar>

i add the rad tool bar with place holder on content page like this

Page.LoadControl("MenuStyle1.ascx");
Spinner1 = (ASP.MenuStyle1)LoadControl("MenuStyle1.ascx");
RadToolBar tlbar = (RadToolBar)Spinner1.FindControl("RadToolBar1");
place.Controls.Add(tlbar);

<asp:PlaceHolder ID="place" runat="server"></asp:PlaceHolder>

now i want to access the radtoolbar using javascript how i do that

Princy
Top achievements
Rank 2
 answered on 05 Apr 2012
1 answer
96 views
Hi, I'm having issues applying a tooltip to a dynamic DOM element. Here is my scenario:

  1. Ajax request is made.
  2. Data received is then generated into new dom elements on my page.
  3. I attempt to apply a tooltip to one of those newly created dom elements, but I'm getting an empty tooltip.

Below is a basic example of how I am trying to apply the tooltip to my newly created elements. Again, all I get is an empty tooltip. Thanks for your help!

$("span.XYZ").each(function () {
     
    var tooltipManager = $find("ctl00_main_RadToolTipManager1");
 
    var tooltip = tooltipManager .getToolTipByElement(this);
 
    if (!tooltip) {
        tooltip = test.createToolTip(this);
        tooltip.set_contentElement("<span>abcd</span>");
        //tooltip.updateLocation();
    }
 
    //this.onmouseover = null;
});

Marin Bratanov
Telerik team
 answered on 05 Apr 2012
5 answers
197 views
Step to reproduce:
1. open radcolorpicker near to right bottom corner of window.
2. change(switch) palette
3. close colorpicker.
4. Open it again and you can see that color picker doesn't fit to window size.
Slav
Telerik team
 answered on 05 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?