Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
1.0K+ views
Hi,

I Am using radgrid in my project. i am implementing a functionality...

for that i need column index using column name. Can anybody please provide it.

Thanks.
Kevin Babcock
Top achievements
Rank 1
 answered on 28 Dec 2008
1 answer
130 views
Hi,
           In RadGrid when user click EDIT by checking a condition if 'TRUE' allow edit operation Else display "This particular record cannot be edited".
           In RadGrid1_ItemCommand
                if e.CommandName == "Edit"
               {
                  if (true)
                     allow edit
                 else
                       RadGrid1.MasterTableView.ClearEditItems();
                     alert(This particular record cannot be edited);  // I need to perform cancel edit operation here itself
             }

I can't do RadGrid1.MasterTableView.ClearEditItems(); in RadGrid1_UpdateCommand(){}
Richard
Top achievements
Rank 2
 answered on 27 Dec 2008
1 answer
131 views
Hi folks

What is the best way to do some simple input validation on the fields in the popup
edit form before the Update is actioned?

Thanks

Clive
Richard
Top achievements
Rank 2
 answered on 27 Dec 2008
1 answer
116 views
Hi,

Pls refer to
http://demos.telerik.com/aspnet-ajax/TabStrip/Examples/ApplicationScenarios/LoadOnDemand/DefaultCS.aspx


I realize that if i ajaxified RadTabStrip1 updating control RadMultiPage1, everytime it postback, the whole RadMultiPage is re-rendered and all the Dynamic UserControl loaded are lost.

The code given in the Demo is not completed and i am not sure where i did wrong. I'll appreciate if the code can be attached.

Thanks,
Rgds,
Andy
andy
Top achievements
Rank 1
 answered on 27 Dec 2008
1 answer
144 views
Template Column with a DatePicker. Going into edit works fine but on insert i get an 'Specific Cast Invalid' error.

                                <telerik:GridTemplateColumn HeaderText="Start Date" UniqueName="StartDate">
                                    <ItemTemplate>
                                        <asp:Label ID="lblStartDate" runat="server" Text='<%# Bind("StartDate") %>'></asp:Label>
                                    </ItemTemplate>
                                    <EditItemTemplate>
                                        <telerik:RadDatePicker ID="rdpStartDate" SelectedDate='<%# Bind("StartDate") %>' runat="server">
                                        </telerik:RadDatePicker>
                                    </EditItemTemplate>
                                </telerik:GridTemplateColumn>
Steve Y
Top achievements
Rank 2
 answered on 27 Dec 2008
0 answers
115 views
Is there a way to configure the datepicker to be able to display and select quarters as a time period:

For ex --> Q1 Q2 Q3 Q4

Need this for a reporting application for which I need the control to be intelligent enough to know the start and end dates of the quarter chosen.

FYI, we currently are using the Q3 2008 version of the controls

Thanks

Arun
Top achievements
Rank 1
 asked on 26 Dec 2008
1 answer
131 views
Hi

I am having problems with the text alignment on the rad scheduler. I set an appointment like so

 

<AppointmentTemplate>

 

 

 

<asp:Image ID="Image1" runat="server" ImageUrl='<%# "~/Main/Sys_Shared/Images/icons/" + Eval("ActivityType")+ ".gif" %>' />

 

 

<asp:Literal ID="AppointmentSubject" runat="server" Text='<%# Eval("Subject") %>'></asp:Literal>

 

 

 

</AppointmentTemplate>

It has a small image in it and then the subject of the appointment. However in for example the day view the text is right at the bottom of the appointment and is cut off at the base of the font. I've tried looking to see if the was an alignment property or somehting that might sort it but no luck.

Any ideas what may be causing this?

Thx
 
Gary.

 

Atanas Korchev
Telerik team
 answered on 26 Dec 2008
1 answer
74 views
Where are the "Suggest a new product" forum located?
Dimo
Telerik team
 answered on 26 Dec 2008
7 answers
355 views
I have a Prometheus radWindow that pops up when I click a button on my radGrid.  The radWindow pops like I want.  But now I want to close the popup radwindow when I click a asp.net button.  How can I do this?

Thanks,
Bob
Morten
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 26 Dec 2008
3 answers
153 views

I have a shared multi-month calendar that i'm using with two date picker controls. For some reason it's won't navigate when using the arrows at the top of the Calendar to go back to prior months. I've tried setting all the allowNavigation properties I could find. Is there something wrong with my code?

 

 

<div style="margin-left: 18px; margin-top: 2px;">

 

 

<telerik:RadDatePicker ID="DpDateRangeStart" runat="server" Skin="Vista" SharedCalendarID="CalShared">

 

 

<DateInput ID="DateInput1" InvalidStyleDuration="100" Skin="Vista" runat="server">

 

 

</DateInput>

 

 

<DatePopupButton ImageUrl="../images/Calendar.png" HoverImageUrl="../images/Calendar.png" />

 

 

</telerik:RadDatePicker>

 

 

 

 

 

<telerik:RadDatePicker ID="DpDateRangeEnd" runat="server" Skin="Vista" SharedCalendarID="CalShared">

 

 

<DateInput ID="DateInput2" InvalidStyleDuration="100" Skin="Vista" runat="server">

 

 

</DateInput>

 

 

 

 

 

<DatePopupButton ImageUrl="../images/Calendar.png" HoverImageUrl="../images/Calendar.png" />

 

 

</telerik:RadDatePicker>

 

 

 

 

 

<div style="margin-top: 4px;">

 

 

<a href="#" onclick="javascript:ApplyDateFilter();return false;">Apply Date Range</a>

 

 

</div>

 

 

</div>

 

 

 

 

 

<telerik:RadCalendar ID="CalShared" runat="server" Skin="Vista" EnableMultiSelect="False"

 

 

MultiViewColumns="3" MultiViewRows="1" Width="168px" ShowRowHeaders="False" SelectedDate="">

 

 

</telerik:RadCalendar>

Thanks!

Levi

 

Dimo
Telerik team
 answered on 26 Dec 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?