Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hello all,

I want to add loading panel on RadCombo SelectedIndex change as this Combo has AutoPostBack property TRUE, so I want to restrict the user to type on any other field while the combo posts its value back. But not getting any success. My RadCombo code is :

  <telerik:RadComboBox ID="ddlVessel" runat="server" AllowCustomText="true" AutoPostBack="true" Skin="Gray" OnSelectedIndexChanged="ddlVessel_SelectedIndexChanged"  EmptyMessage="-- Select --" 
ontextchanged="ddlVessel_TextChanged"></telerik:RadComboBox>
Shinu
Top achievements
Rank 2
 answered on 13 Oct 2011
2 answers
181 views
Hello every one ,

My problem how to fire the javascript in raddatepicker changed

aspx
<telerik:RadDatePicker ID="DateofCommencement" AutoCompleteType="Disabled" runat="server"
DbSelectedDate='<%# Bind("DtCommencement") %>' >
<DateInput ID="DateInput1" DateFormat="dd/MM/yyyy" runat="server" ReadOnly="true" >
</DateInput>                                                           
</telerik:RadDatePicker>

.cs

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
        {
            if (e.Item is GridEditableItem && e.Item.IsInEditMode)
            {
                RadDatePicker StartDate = (RadDatePicker)e.Item.FindControl("DateofCommencement");
                RadNumericTextBox Duration = (RadNumericTextBox)e.Item.FindControl("Duration");
                RadDatePicker EndDate = (RadDatePicker)e.Item.FindControl("DateofCompletion");
                StartDate.Attributes.Add("onclick", string.Format("changeEndDate('{0}','{1}','{2}');", StartDate.ClientID, Duration.ClientID, EndDate.ClientID));
                Duration.Attributes.Add("onblur", string.Format("changeEndDate('{0}','{1}','{2}');", StartDate.ClientID, Duration.ClientID, EndDate.ClientID));
            }
        }

Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 13 Oct 2011
4 answers
87 views



<telerik:GridTemplateColumn DataField="Okres_Do"
     SortExpression="Okres_Do"
    UniqueName="Okres_Do" HeaderText="Okres do" HeaderStyle-Width="200px">
    <ItemTemplate>
        <%# Eval("Okres_Do", "{0:MM/yyyy}") %>
    </ItemTemplate>
    <EditItemTemplate>
        <telerik:RadMonthYearPicker ID="OkresDoMonthYearPicker" Runat="server" DbSelectedDate='<%#Bind("Okres_Do") %>' DateInput-Width="120px"  CssClass="OkresMYPicker"></telerik:RadMonthYearPicker>
    </EditItemTemplate>
</telerik:GridTemplateColumn>


I have a RadGrid with this TemplateColumn inside and a MonthYearPicker inside.
But the control seems strange: has any random width, not theDateInput-Width wchich I set up.

Only in IE8.
Lukasz Kalbarczyk
Top achievements
Rank 1
 answered on 13 Oct 2011
1 answer
133 views
I'm trying to set my RadSpell control to not embed scripts so I can reference them myself as described here:
http://www.telerik.com/help/aspnet-ajax/introduction-disabling-embedded-resources.html

I'm running into a few problems.  
 
  1. I don't think the document above is up to date.  I can't seem to find the "Dialogs/DialogControlInitializer.js" file that it mentions in the script directory.  I'm using ASP.NET AJAX Q2 2011 SP1.  I do have a similar file called "DialogInitializerScripts.js".  Should I use this file instead? 
  2. When createing the CombinedSpellScripts file is it just a matter of copying and pasting the specified scripts into this one file?
  3. I did all of the above mentioned, but it seems that I'm getting duplicate versions of core.js and SpellDialog.js loaded.  I think this is because I have the following property set in my RadSpell control:
    HandlerUrl="/applications/pdp/Telerik.Web.UI.DialogHandler.axd"

    I seem to need this property set for things to work, but I suspect that the Telerik.Web.UI.DialogHandler.axd is loading the SpellDialog.js file.  If I don't include the HandlerUrl property, I get a web configuration error.

Any ideas as to how I can make this work?

Rumen
Telerik team
 answered on 13 Oct 2011
1 answer
118 views
Hi,

I want to select some particular cells (note, not the whole row) in the grid and then in the code behind, I want to get which cells have been selected and do something for these cells. Is there any easy way to achieve this? For the cells selected, they may not be in the same row. It will be great if I can select cells by selecting a range in the grid by dragging the mouse. Could you please advice?

Thanks in advance,
Dong, Zhangzhen
Princy
Top achievements
Rank 2
 answered on 13 Oct 2011
2 answers
88 views
I'm writing how best to expand the root node of the TreeView control by default, on the page load - either with C# or with the properties of the RadTreeView;

rootNode.Expanded = true  - this code did not work as expected;

Thanks in advance for any insight; 


 

 

 

 

 

 

 

 

 

 

 

 

 

Kate
Telerik team
 answered on 13 Oct 2011
1 answer
234 views
Hi,
We got requirement when data is empty , we show "No records found". Grid contains command to add or edit item. if there is no data or empty datasource, when the user clicks on "NEW " button , we would like to add new dummy row. I could not see telerik grid able to add new record incase of empty datasource. Can any1 provide me any solution on this

-Mahender
Shinu
Top achievements
Rank 2
 answered on 13 Oct 2011
6 answers
328 views
Hi,

I have a tree list setup as follows:

http://i1135.photobucket.com/albums/m621/surfrat77/TreeListLayout.png

I wish to remove the labels and textbox's as shown below. How do I achieve this?

http://i1135.photobucket.com/albums/m621/surfrat77/EditName.png

http://i1135.photobucket.com/albums/m621/surfrat77/EditValue.png

Thanks

SurfRat
Surf
Top achievements
Rank 1
 answered on 13 Oct 2011
1 answer
196 views
I'm trying to use the list box in a load on demand scenario, but I have a need to set it's height via javascript rather than on the server object. Is there any way to get load on demand to work in this scenarios?

Thanks,
Chris
Peter Filipov
Telerik team
 answered on 13 Oct 2011
1 answer
152 views
I have an issue on how to save the layout of all RadDock controls on a web page when a RadDock is moved to a new location. Currently, I have server side code that saves the users layout position to the database. However, the user must click a command button to save layout. However, the user wants the application to save the new layout when a RadDock is closed or moved to a new location. Is this possible.
Slav
Telerik team
 answered on 13 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?