Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
78 views
gird has a property that can set Animation when Expand and Collaps ?
Farshad heidary
Top achievements
Rank 1
 answered on 18 Feb 2010
3 answers
128 views
hi
how can i add mask to calender: 20-02-2007
i want to type numbers only and not "-" or "/"
for 20-02-2007
i need onlyto type 20022007.

 

<telerik:RadDatePicker ID="TBox" runat="server" Width="120px" Culture="Dutch (Netherlands)" ShowPopupOnFocus="True" Skin="Outlook">

 

 

<Calendar ID="Calendar1" UseRowHeadersAsSelectors="False" runat="server" UseColumnHeadersAsSelectors="False" ViewSelectorText="x" Skin="Outlook">

 

 

 

</Calendar>

 

 

 

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>

 

 

 

<DateInput ID="DateInput1" DisplayDateFormat="dd-MM-yyyy" runat="server"

 

 

 

DateFormat="dd-MM-yyyy" >

 

 

 

</DateInput>

 

 

 

</telerik:RadDatePicker>

 

 

 

 

 

 

Dimo
Telerik team
 answered on 18 Feb 2010
10 answers
1.5K+ views
Hi,

Is there a way to force the RAD AJAX Update Panel to update in the same way you can with the MS Update Panel, for some reason the RAD one is not updating controls within when another MS Update Panel modifies the content within the RAD panel.

Thanks
Sebastian
Telerik team
 answered on 18 Feb 2010
3 answers
135 views
Hello,

We have a Radgrid set up as followed
<telerik:RadGrid ID="RadGrid" runat="server" AutoGenerateColumns="False"   
  GridLines="None" AllowPaging="true" AllowCustomPaging="true" PageSize="100" AllowMultiRowSelection="true" 
  onitemcommand="RadGrid_ItemCommand" OnItemDataBound="RadGrid_ItemDataBound" 
  OnNeedDataSource="RadGrid_NeedDataSource" OnPreRender="RadGrid_PreRender" > 
  <ExportSettings> 
    <Pdf PageWidth="8.5in" PageHeight="11in" PageTopMargin="" PageBottomMargin="" PageLeftMargin="" PageRightMargin="" PageHeaderMargin="" PageFooterMargin=""></Pdf> 
  </ExportSettings> 
  <ClientSettings EnablePostBackOnRowClick="true" > 
    <Selecting AllowRowSelect="True" /> 
    <ClientEvents OnRowClick="RowClick" OnRowContextMenu="RowContextMenu" OnRowCreated="RowCreated" /> 
  </ClientSettings>

  <

 

MasterTableView Name="Customer" currentresetpageindexaction="SetPageIndexToFirst" DataKeyNames="CustomerNO" >

 

 
This radgrid has a detailtable that is set up as followed
<telerik:GridTableView runat="server" Name="Orders" AutoGenerateColumns="false" AllowSorting="false" 
   Width="100%" PageSize="20" AllowPaging="False" DataSourceID="UitvoeringenObjectDataSource" currentresetpageindexaction="SetPageIndexToFirst"   
   DataKeyNames="eKeyUITVRNG" > 
  <ParentTableRelation> 
    <telerik:GridRelationFields DetailKeyField="CustomerNO" MasterKeyField="CustomerNO" /> 
  </ParentTableRelation> 
 

When a user expands a row in the mastertable, the OnNeedDataSource event of the radgrid is also executed.
After that the rebind of the detailtable is triggered.

Why is the rebind of the mastertable taking place?
In my opinion only the detailtable should be bound at time of expanding and not the mastertable. Or is RadGrid triggering this because of some of the properties/events i set?

By the way, we're using version 2009.3.1208.35

Thanks in advance!

Kind regards,
Roel
Jeroen Eikmans
Top achievements
Rank 1
 answered on 18 Feb 2010
1 answer
201 views
Hello,

I would like to export a datatable to an existing Excel file. Something like:

  1. Open file X.
  2. Insert datatable D on Sheet S starting at Column C and Row R. Preferably with an option whether or not to insert headers or just data.
  3. Return new file to user with Http Response.

Anyone knows if there is a Telerik control that could help me with this problem. If not references to any other third party control would also be helpful. I did implement this using Excel.Interop but it is slow and unreliable.
Daniel
Telerik team
 answered on 18 Feb 2010
1 answer
128 views
I have a floating raddock with it's content set to a single HTML IMG tag.  The user gets to pick the image that is used in the tag so the images will be all different sizes.  I need to be able to have the raddock automatically change its height and width to show the whole image when the user selects the image.  How can I go about achieving this behavior?

Thanks,
--nick
Pero
Telerik team
 answered on 18 Feb 2010
1 answer
120 views
I am using the RadInputManager for validation.   If I have an asp:TextBox with its TextMode set to Password and I make that textbox required, if the user does not enter anything, the required message displays, but as you can guess, it does not display required inside the textbox, it displays ************ in the textbox because.   Is there a solution to this?  Also,  Is there a way to get the messages to show outside the textboxes instead of inside of them?
Dimo
Telerik team
 answered on 18 Feb 2010
3 answers
299 views
Hi,

I am using a custom skin that is basically the Office2007 skin provided by telerik. I have looked at other forum post, which imply that the css can be changed to modify the grid lines. I need to be able to show only the horizontal grid lines. Please let me know how this can be achieved or which classes reflect the grid lines in the css.

Thanks,
Pavan.
Dimo
Telerik team
 answered on 18 Feb 2010
1 answer
162 views
Hi

I want to disable the Scheduler default drag option , while the edit should be enabled for the cell. I am viewing the appointment as the Week view.
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2010
5 answers
258 views
Hello all I posted earlier and got some help, I am still having an issue and was wondering if anybody could tell by looking at my code what I maybe doing wrong.  Thanks a bunch.  I am trying to add an image to a gridhyperlinkcolumn.  I have already looked at this post and this is were I got most of my info/code from but this doesn't work for me.  It populates my grid column with a blank, no image.  I am a newbie when it comes to this stuff so hopefully somebody can see the error in my way. lol.. Thanks again.
<Columns> 
                    <telerik:GridHyperLinkColumn NavigateUrl="mywebpage.aspx"   
                      ItemStyle-Width="20px"  HeaderText="Button Column"  UniqueName="HyperLinkColumnUniqueName" > 
                    </telerik:GridHyperLinkColumn> 

 

 

 

 

 

 

 
   Protected Sub rGvTeachers_ItemDataBound(ByVal sender As ObjectByVal e As GridItemEventArgs)  
        If TypeOf e.Item Is GridDataItem Then 
            Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)  
            Dim hyplnk As HyperLink = DirectCast(item("HyperLinkColumnUniqueName").Controls(0), HyperLink)  
            hyplnk.ImageUrl = "~/Email.gif" 
        End If 
    End Sub 

 

 

 

 

Tsvetoslav
Telerik team
 answered on 18 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?