Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
Does anyone have an example of how to open a RadWindow on the OnRowDblclick event of the Radgrid and passing values from select cells of the row as parameters? 

thanks!
Richard
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
125 views

Hi,

Is there a way to have a client-side postback when the input in a textbox reaches the maximum length?

The input is generated by a bar-code scan, but unfortunately the scanner can't be configured to trigger a carriage return after input.

Thanks,
Roel

Shinu
Top achievements
Rank 2
 answered on 01 Aug 2008
1 answer
103 views
Hi,

I utilize Tag property of the RadDock control for adding controls inside dynamically added docks. Everything works great server side, but when I tried to access dock's tag value client side, I found that it does not have get_tag() method. I'm relying on Tag value to know which controls live inside the dock and it's also a part of the DockState that gets saved to the database.

Is there any other way to get a value of the Tag property client side?

Thanks,

Yevgeniya
Sophy
Telerik team
 answered on 01 Aug 2008
3 answers
157 views
When you move the mouse out of the RadRotator when in SlideShow mode, it advances to the next slide (regardless of whether or not the designated time has elapsed).  You can see this in the online example if you set the mode to SlideShow and move the mouse back and forth over the rotator.

What makes this issue more problematic, however, is that it seems to do the same thing when you mouseover divs, spans, or links nested inside of an item.  When I attempt to use this with an rss feed and the user moves the mouse over the current item, the rotator initially suspends rotation (good), but as soon as the user moves the mouse to the link for the item or comments, etc., the rotator advances to the next item (bad).

Does anyone have any solutions for this issue?  As it is, I don't think I could put the rotator in production, at least not in SlideShow mode.
Sophy
Telerik team
 answered on 01 Aug 2008
1 answer
124 views
When I create a node server-side perhaps inside the _NodeExpand() event handler for load-on-demand tree loading,  i'm able to set pretty much most things on the node -- but one thing i've either missed or we just can't do is set the highlight?

In Javascript I can call upon a JS method called node.highlight()  or node.unhighlight()  ....  what are the server side equivalents of these?
Veselin Vasilev
Telerik team
 answered on 01 Aug 2008
1 answer
150 views
I have the following code to open Radwindow and edit for scheduler

 
 function TaskCallBack(radWindow, returnValue) {  
                var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");  
                ajaxManager.ajaxRequest('RebindTask');  
            }  
 
   <telerik:AjaxSetting AjaxControlID="RadAjaxManager1">  
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="MixedSchedule" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 

it works great, except after ajaxmanger fires, the scrollbar back to the top for the scheduler.

any advise will be appreciated. thanks
Peter
Telerik team
 answered on 01 Aug 2008
1 answer
122 views

I'm getting this error. It has something to do with the filter option:

Microsoft JScript runtime error: 'childNodes' is null or not an object

...
return _40;
};
Telerik.Web.UI.RadMenu._getMaxRootItemWidth=function(_43){
var _44=Telerik.Web.UI.RadMenu._getChildListElement(_43);
var _45=_44.childNodes;  'PROBLEM HERE
var _46=_45.length;
var _47=0;
for(var i=0;i<_46;i++){
var _49=_45[i];
if(_49.nodeType===3){
continue;
}
...

Here's the declaration of my grid:

<telerik:RadGrid OnInit="RadGridConcours_Init" PageSize="5" Visible="true" OnNeedDataSource="RadGridConcours_NeedDataSource" ID="RadGridConcours" runat="server" AutoGenerateColumns="False" GridLines="None" Skin="WebBlue" AllowPaging="True" CellPadding="0" AllowSorting="True" AllowMultiRowSelection="false"  >
                                           
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
               
<PagerStyle Mode="NumericPages" />
               
<MasterTableView  AllowFilteringByColumn="true" runat="server" nomasterrecordstext="Aucun concours n'est disponible." CommandItemDisplay="Top" DataKeyNames="CON_ID">
                                           
                                           
<CommandItemTemplate><div></div></CommandItemTemplate>
                                               
<Columns>
<telerik:GridClientSelectColumn HeaderStyle-Width="40px" />
<telerik:GridBoundColumn FilterImageToolTip="Filtre" dataField="CON_Numero_CorpsEmploi" HeaderText="Corps d'emploi" UniqueName="CON_Numero_CorpsEmploi"></telerik:GridBoundColumn>
<telerik:GridBoundColumn FilterImageToolTip="Filtre" DataField="CON_Numero_CategorieEmploi" HeaderText="Catégorie d'emploi" UniqueName="CON_Numero_CategorieEmploi"></telerik:GridBoundColumn>
<telerik:GridBoundColumn FilterImageToolTip="Filtre" DataField="CON_Numero_MinistereResponsable" HeaderText="Ministère responsable" UniqueName="CON_Numero_MinistereResponsable"></telerik:GridBoundColumn>
<telerik:GridBoundColumn FilterImageToolTip="Filtre" DataField="CON_Numero_NumeroSequentiel" HeaderText="No. séquentiel" UniqueName="CON_Numero_NumeroSequentiel"></telerik:GridBoundColumn>
<telerik:GridBoundColumn FilterImageToolTip="Filtre" DataField="CON_Titre" HeaderText="Titre" UniqueName="CON_Titre"></telerik:GridBoundColumn>
</Columns>
                       
<EditFormSettings>
<PopUpSettings ScrollBars="None"></PopUpSettings>
</EditFormSettings>
                   
</MasterTableView>
               
</telerik:RadGrid>

Sebastian
Telerik team
 answered on 01 Aug 2008
1 answer
298 views
Hi there

I am currently finding controls with the following method:

Dim

parentItem As GridDataItem = CType(e.DetailTableView.ParentItem, GridDataItem)

Me

.dsResellerDetails.SelectParameters.Add("mkOrderId", CType(parentItem.FindControl("lblID"), Label).Text)

However I need to get a text value from a gridview within a child DetailTable gridview?

i.e. I have expanded a record then expanded details within that expansion and need to FindControl at that level.

Many thanks

Steve

Shinu
Top achievements
Rank 2
 answered on 01 Aug 2008
3 answers
154 views
After upgrading to the Q2 2008 release of the ASP.Net AJAX controls I noticed the Office 2007 skin was not correct on the radMenu control.

Further investigation showed that the embedded and supplied CSS/Images are incomplete. I manually applied the Q1 2008 release version of the skin and everything was correct.

It looks like a number of images are missing and the CSS file is incomplete.

Has anyone else noticed this issue?
Alex Gyoshev
Telerik team
 answered on 01 Aug 2008
1 answer
138 views
Dear All!

I am quite newbie and don't know how to retreive the values on a custom UserControl in Edit mode. I have the following grid structure:

....
<MasterTableView ShowFooter="false" DataKeyNames="ID" GridLines="None" CommandItemDisplay="Top">
                        <Columns>
                            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" />
                            <telerik:GridTemplateColumn AllowFiltering="false">
                                <ItemTemplate>
                                    <asp:LinkButton runat="server" ID="btnDelete" Text="Delete" />
                                </ItemTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridBoundColumn UniqueName="ID" DataField="ID"  DataType="System.Int32" Visible="false" />
                            <telerik:GridBoundColumn DataField="AnswerTypeLabel" UniqueName="AnswerTypeLabel"
                                HeaderText="Answer Type" DataType="System.String" />
                            <telerik:GridBoundColumn DataField="AnswerMeasureLabel" UniqueName="AnswerMeasureLabel"
                                HeaderText="Measure Type" DataType="System.String" />
                              </Columns>
                        <EditFormSettings UserControlName="CustomEditControl.ascx" EditFormType="WebUserControl">
                            <EditColumn UniqueName="EditCommandColumn1">
                            </EditColumn>
                        </EditFormSettings>
                    </MasterTableView>
....

And I want to access to the edited GridBound and GridTemplate columns values on the Code Behind file of the UserControl file (CustomEditControl.ascx)

I am sure it's possible but don't know how.

thanks,
G.
Princy
Top achievements
Rank 2
 answered on 01 Aug 2008
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?