Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
111 views
I have a couple of comboboxes on my page.
My data model is such that each dropdownlist has an unknown value.

I want to preselect the value unknown on a new record but I do not want to allow the user to select it from the list.

Is that possible?

I can change the value unknown to 'Please Select One' while getting the values from the database.Can i display it like <please select one> with the '<' and '>' .I only want to do it for this particular value so that rather than looking like a value in the list it looks like a prompt. I need to have that value in the list at all times though because I create a new record using those values.

I hope I am making sense.
Veselin Vasilev
Telerik team
 answered on 01 Aug 2008
2 answers
98 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
123 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
90 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
156 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
118 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
121 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
291 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
146 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?