Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
217 views
Hello All,

I am using a grid with batch edit mode and I am unable to find/bind a RadComboBox in an EditItemTemplate. I have tried itemdatabound and prerender and neither seem to work.

Any advice one where it should be bound and how to find it would be greatly appreciated.

Thanks, Paul.

<telerik:GridTemplateColumn HeaderText="Job" HeaderStyle-Width="180px" UniqueName="Job" DataField="jobid">
                            <ItemTemplate>
                                <%# Eval("jobnumber") %>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <telerik:RadComboBox ID="rcbJobID" runat="server" EmptyMessage="Select a Job." CausesValidation="false" Width="90px"
                                    HighlightTemplatedItems="true" DropDownWidth="350px" DataValueField='<%# Eval("jobid") %>'>
                                    <HeaderTemplate>
                                        <table style="width: 320px;" class="dropdownheader">
                                            <tr>
                                                <td style="width: 150px;">Job #
                                                </td>
                                                <td style="width: 170px">Job Name
                                                </td>
                                            </tr>
                                        </table>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <table style="width: 320px;">
                                            <tr>
                                                <td style="width: 150px">
                                                    <%# DataBinder.Eval(Container, "Text")%>
                                                </td>
                                                <td style="width: 170px; text-align: left;">
                                                    <%# DataBinder.Eval(Container, "Attributes['Description']")%>
                                                </td>
                                            </tr>
                                        </table>
                                    </ItemTemplate>
                                </telerik:RadComboBox>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>

Angel Petrov
Telerik team
 answered on 20 Sep 2013
1 answer
104 views



In my application, I  have main menu like tree view which is in expand and collapse panel. rad combobox is disturbed when collapse or expand the treview panel. pls find the attachment.



Plz help me .
Angel Petrov
Telerik team
 answered on 20 Sep 2013
1 answer
189 views
hello all, 
I have 2 textbox as shown in code below : 


<telerik:GridTemplateColumn UniqueName="guarantyAmount" HeaderText="<%$Resources:Strings,amount  %>">
                    <ItemTemplate>
                        <asp:Label Text='<%# Eval("WARRANTY_AMOUNT")%>' runat="server" id="warrantyAmountText">
                            </asp:Label>
                    </ItemTemplate>
                   <EditItemTemplate>
                
                       <telerik:RadNumericTextBox runat="server" id="warrantyAmount" ClientEvents-OnValueChanging="warrantyAmount_ValueChanging"></telerik:RadNumericTextBox>
                        </EditItemTemplate>
                   </telerik:GridTemplateColumn>
                 
                  <%--<telerik:GridBoundColumn DataField="REAL_VALUE" HeaderText='<%$Resources:Strings,realValue %>' UniqueName="guarantyRealValue"/>--%>
              <telerik:GridTemplateColumn UniqueName="guarantyRealValue" HeaderText="<%$Resources:Strings,realValue  %>">
                    <ItemTemplate>
                        <asp:Label Text='<%# Eval("REAL_VALUE")%>' runat="server" id="realValueText">
                            </asp:Label>
                    </ItemTemplate>
                   <EditItemTemplate>
                
                       <telerik:RadNumericTextBox runat="server" id="realValue"></telerik:RadNumericTextBox>
                        </EditItemTemplate>
                   </telerik:GridTemplateColumn>


what i want is to create  " warrantyAmount_ValueChanging " js function that read input value from "warrantyAmount " textbox and put them in "realValue" ..

how can i achieve that ??


Angel Petrov
Telerik team
 answered on 20 Sep 2013
7 answers
661 views

Hi,

I am doing booking form page for the members with Radcaptch validation.

 

<telerik:RadCaptcha ID="RadCaptcha1" runat="server" ValidationGroup="SubmitInfo"

 

 

   ErrorMessage="The code you entered is not valid." Display="Dynamic">

 

 

</telerik:RadCaptcha>

 


I given the ValidationGroup Property to textbox requiredfield validation and  submit button also.

RequiredFieldValidator is validating for textbox but radcaptch is not validating

 

<asp:TextBox ID="txtemail" runat="server"></asp:TextBox>

 

 

<asp:RequiredFieldValidator ID="RequiredFieldValidator2" ValidationGroup="SubmitInfo"

 

 

runat="server" ControlToValidate="txtemail" ErrorMessage="Enter Email"></asp:RequiredFieldValidator>

 



 

<asp:Button ID="btnbooking" runat="server" ValidationGroup="SubmitInfo" Text="Submit"

 

 

OnClick="btnbooking_Click" />


Please help in the issue which i stucked for 3 days.

Urgent reply highly appreciable

Regards,
Prathap Narravula



 

Dhamodharan
Top achievements
Rank 1
 answered on 20 Sep 2013
2 answers
109 views
hello sir

 I have uploaded my webapplication on server
 I am using (Windows 8 -Internet explorer)
 1 ) first three images are of (Windows 8 -Internet explorer)
      as shown in first image ,Radmenu does not show dropdown submenu
       also panel bar shown at right side in image 1 does not work and it is align to center leaving top and bottom space empty
2  In second image when i focus on profile menu at right top of screen  it dissapear.
3  In third image when i click on Logout menu at right top it also dissapear.


4 )  I want the working as shown in Image 3 and 4  which are  working proper in (windows 8 Mozilla browser)
I think its only brower issue ,how to solve it
5 this proplem does not come when I running the application on local server
   it occours only on main server.

Please help me
waiting for reply
Kishor
Top achievements
Rank 2
 answered on 20 Sep 2013
1 answer
109 views
How can i set value of textbox.text in <filtertemplate> that inside a grid.
Princy
Top achievements
Rank 2
 answered on 20 Sep 2013
2 answers
240 views
I have a long page that contains a grid and every row has an edit link.  When I scroll down and click a link that will open a radWindow the page refreshes and scroll back to the top but the radWindow is left at the bottom.  In order to see the window the user must scroll back down.  Is there a work around that will either prevent the page from scrolling back to the top or have the radWindow open up in the new position?
Thanks

Manoj
Top achievements
Rank 1
 answered on 20 Sep 2013
2 answers
324 views
Is there any example how do i update/delete/insert records when using radgrid in batch edit mode and it's using advanced data binding?
I couldnt find any.

If I have to do it manually how do i do it?
I could do it using
Protected Sub RadGrid1_BatchEditCommand(sender As Object, e As Telerik.Web.UI.GridBatchEditingEventArgs) Handles RadGrid1.BatchEditCommand
        For Each command As GridBatchEditingCommand In e.Commands
exec sql command.NewValues("fieldName")

But how do I detect if the command is update, insert or delete?



Log
Top achievements
Rank 1
 answered on 19 Sep 2013
5 answers
1.5K+ views
I am looking for an example to do what is available with the ajaxtoolkit in telerik for modalpopup.  http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ModalPopup/ModalPopup.aspx 

I want to do a modal popup of a panel that disables the elements on the page it is launched from.  It looks like from the graphic on the rad window page  http://www.telerik.com/libraries/radcontrols_for_asp_net_ajax/window_screenshot.sflb that it is possible, I just can't find that demo anywhere.

Thanks.
Velkumar
Top achievements
Rank 1
 answered on 19 Sep 2013
2 answers
134 views
Hello!

I have a requirement on my application that states no user can navigate to a date that falls within a specified interval (in this case a year, starting in September, for instance).

I manage to do this using pre-render event and setting the popup calendar min and max date properties. Using the popup works beautifully.

Now I need same functionality on the navigation buttons. I tried using NavigationCommand event, but when the command is NavigateToNextPeriodo or NavigateToPrevious period I can not do this, since I do not have a suitable date to compare with my interval, so I can decide to cancel or not the command. Like so:

if (e.Command == SchedulerNavigationCommand.NavigateToNextPeriod ||
    e.Command == SchedulerNavigationCommand.NavigateToPreviousPeriod ||
    e.Command == SchedulerNavigationCommand.NavigateToSelectedDate ||
    e.Command == SchedulerNavigationCommand.SwitchToSelectedDay)
{
    using (ServicoAnosLectivos servico = new ServicoAnosLectivos())
    {
        DateTime[] datas = servico.GetDatasAnoLectivo(ServicoTabelasBaseSistema.GetAnoLectivoActual(true));
        if (e.SelectedDate < datas[0] ||
            e.SelectedDate > datas[1])
        {
            e.Cancel = true;
        }
    }
}


Has anyone been on this kind of a picle? Is there any ideas on how to achieve this?

Thanks!
Stargazer
Top achievements
Rank 2
 answered on 19 Sep 2013
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?