Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
191 views
Hi,

I need to have static headers in my RadGrid. Here is the problem: My radgrid have width = 500px. When there is not enough rows for scroll to appear everything is fine. When I change data and there is more rows so scroll apears there are 2 strange things that occur:
1. radgrid width becomes about 520px and those 20 additional px initialy is only white column. Scroll is placed in width 480-500px.
2. when I move cursor over grid, scroll appears on this new white column.

When static headers are set to false, scroll behaves as expected.  Issue occurs in IE 8 - browser that will be used by our client.

How can it be solved? I am attaching 4 photos. 1,2,3 are step by step description of problem, 4th is with static headers = false, represents what it would be expected to look like when problem is solved.

Regards,
Marcin
Marcin
Top achievements
Rank 1
 answered on 13 Oct 2011
3 answers
147 views
Hi! Currently I'm planning a web application and I'm not quite sure, if the AsyncUpload component would satisfy my needs. Basically I'm trying to acomplish the following: - having multiple text input fields (e.g. for contact details) - allowing the user to upload multiple files at once - allowing the user to select multiple files at once if Flash or Silverlight is available - showing upload progress The operation doesn't need to be async but of course it would be nice if the upload could be started just after selecting files. I've already looked at the AsyncUpload examples but somehow I'm unsure if I can combine this component with regular form fields (and a submit-button). The regular RADUpload component could be easily used for that but in my understanding, it lacks the support of selecting multiple files because it doesn't use Flash/SL and selecting dozens of files one after another isn't an option for me... What do you think, can either of these controls work for me? chris
Peter Filipov
Telerik team
 answered on 13 Oct 2011
3 answers
130 views
Hi I want use Icon 24x24 instead 16x16.
I must resize the height of button to 66px(height) for see the bottom border.
Button height 66px is too much for me (3x the height of image).
Do I do someting wrong? There is a workaround for fix the problem ?
Bozhidar
Telerik team
 answered on 13 Oct 2011
1 answer
173 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
200 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
105 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
166 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
139 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
106 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
273 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?