Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 views
Hi,

Im using a RadGrid for editing participants in an event.

I Would like to validate the email adress before comitting the data.

The problem is now that if i have more than one row in EditState and trys to commit one of the rows is validates all rows in editState?

Why is that? and how to avoid it?

Here is the code to my grid:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
                <script type="text/javascript">
                    function RowDblClick(sender, eventArgs) {
                        sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
                    }
                </script>
            </telerik:RadCodeBlock>
            <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="rgParticipants">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="rgParticipants" LoadingPanelID="RadAjaxLoadingPanel1">
                            </telerik:AjaxUpdatedControl>
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManagerProxy>
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
            </telerik:RadAjaxLoadingPanel>
            <telerik:RadGrid ID="rgParticipants" runat="server" AutoGenerateColumns="False" AllowSorting="True"
                Skin="Simple" Width="100%" AllowPaging="True" ShowStatusBar="true" PageSize="999999"
                GridLines="None" OnUpdateCommand="RadGridItemUpdated" OnNeedDataSource="RadGridNeedDataSource"
                OnInsertCommand="RadGridItemInserted" OnDeleteCommand="RadGridItemDeleted" AllowMultiRowEdit="True"
                OnItemDataBound="RadGridItemDataBound" AllowAutomaticInserts="True">
                <MasterTableView TableLayout="Fixed" DataKeyNames="Id" CommandItemDisplay="Top" ClientDataKeyNames="Id"
                    EditMode="InPlace" AllowMultiColumnSorting="True" Width="100%" InsertItemPageIndexAction="ShowItemOnCurrentPage"
                    InsertItemDisplay="Top">
                    <NoRecordsTemplate>
                        <div>
                            Ingen deltagerer.
                        </div>
                    </NoRecordsTemplate>
                    <Columns>
                        <telerik:GridBoundColumn UniqueName="Id" DataField="Id" HeaderText="Id" ReadOnly="True"
                            Visible="False" HeaderStyle-Width="5%">
                        </telerik:GridBoundColumn>
                        <telerik:GridTemplateColumn UniqueName="tcName" HeaderText="Navn" HeaderStyle-Width="20%"
                            SortExpression="Name">
                            <ItemTemplate>
                                <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtName" runat="server" Text='<%# Eval("Name") %>' Width="90%" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcClub" HeaderText="Klub" HeaderStyle-Width="20%"
                            SortExpression="Club">
                            <ItemTemplate>
                                <asp:Label ID="lblClub" runat="server" Text='<%# Eval("Club") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtClub" runat="server" Text='<%# Eval("Club") %>' Width="90%" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcEmail" HeaderText="Email" HeaderStyle-Width="20%"
                            SortExpression="Email">
                            <ItemTemplate>
                                <asp:Label ID="lblEmail" runat="server" Text='<%# Eval("Email") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtEmail" runat="server" Text='<%# Eval("Email") %>' Width="90%" />
                                <asp:RegularExpressionValidator ID="vldEmail" runat="server"  Display="Dynamic"
                                    ErrorMessage="Ikke en email adresse" ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$"
                                    ControlToValidate="txtEmail">
                                </asp:RegularExpressionValidator>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcCategory" HeaderText="Kategori" HeaderStyle-Width="10%"
                            SortExpression="Category">
                            <ItemTemplate>
                                <asp:Label ID="lblCategory" runat="server" Text='<%# Eval("Category") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:DropDownList ID="dlCategory" runat="server" DataTextField="Description" DataValueField="Id" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcChip" HeaderText="Chip" HeaderStyle-Width="10%"
                            SortExpression="Chip">
                            <ItemTemplate>
                                <asp:Label ID="lblChip" runat="server" Text=""></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtChip" runat="server" Text="" Width="90%" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcStartNumber" HeaderText="Start nummer"
                            HeaderStyle-Width="10%" SortExpression="StartNumber">
                            <ItemTemplate>
                                <asp:Label ID="lblStartNumber" runat="server" Text='<%# Eval("StartNumber") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:TextBox ID="txtStartNumber" runat="server" Text='<%# Eval("StartNumber") %>'
                                    Width="90%" />
                                <asp:RegularExpressionValidator ID="vldStartNumber" ControlToValidate="txtStartNumber"
                                    Display="Dynamic" ErrorMessage="Ikke et nummer" ValidationExpression="(^([0-9]*\d*\d{1}?\d*)$)"
                                    runat="server" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="tcConfirmed" HeaderText="Status" HeaderStyle-Width="10%"
                            SortExpression="ParticipantStatusDescription">
                            <ItemTemplate>
                                <asp:Label ID="lblConfirmed" runat="server" Text='<%# Eval("ParticipantStatusDescription") %>'></asp:Label>
                            </ItemTemplate>
                            <EditItemTemplate>
                                <asp:DropDownList ID="dlConfirmed" runat="server" DataTextField="Description" DataValueField="Kode" />
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                            EditImageUrl="~/images/Icon/edit.png" CancelImageUrl="~/images/Icon/cross.gif"
                            InsertImageUrl="~/images/Icon/add.gif" UpdateImageUrl="~/images/Icon/accept.gif"
                            EditText="Rediger" InsertText="Opret" UpdateText="Gem">
                            <HeaderStyle Width="5%"></HeaderStyle>
                        </telerik:GridEditCommandColumn>
                        <telerik:GridButtonColumn UniqueName="DeleteColumn" CommandName="Delete" ButtonType="ImageButton"
                            ImageUrl="~/images/Icon/remove.gif">
                            <HeaderStyle Width="3%"></HeaderStyle>
                        </telerik:GridButtonColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings>
                    <ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>
                </ClientSettings>
            </telerik:RadGrid>
Eyup
Telerik team
 answered on 08 Apr 2013
2 answers
131 views
Sorry for the cryptic title, not sure how  best to describe it.

I have a page used to search records in a table with about 4000 records.  The query for the search uses 10 optional parameters provided via textboxes, dropdowns and datepickers.  When the page loads, the grid should start empty.  The user selects as many paramas suit their search needs and clck a button. i.e. dept='finance' and role='csr' and startdate > 'somedate'.  all parameters are optional and ANDed together using something like

Example SQL

ALTER PROC test (
    @Dept varchar(50)=null,
    @Role varchar(50)=null,
    @Startdate datetime=null ) AS

SELECT some, bunch, of, fields
FROM sometable
WHERE
    (Dept = @Dept or isNull(@Dept,'')='')
    AND (Role = @Role or isNull(@Role,'')='')
    AND (startdate > @somedate or isNull(@somedate,0)=0)

* Grid must start with zero records on page load
* If the user select no parameters then ALL records will be returned.

As it stands now when the page loads ALL 4000 records are returned because I have CancelSelectonNullParameter=false in the SQL DataSource. This can usually causes a timeout.

I know I can do some of this via custom paging but thats not really what I want. I want the page to load with zero records in the grid but if the user clicks search with no parameters set then yes all recods can be returned.  at which point normal paging will occur.

Thanks
Kelly

kellyroberts
Top achievements
Rank 1
 answered on 08 Apr 2013
1 answer
84 views
I want change Font-Family of tabstript item in javascript (clinet side) in asp.net ajax rad controls.
Princy
Top achievements
Rank 2
 answered on 08 Apr 2013
3 answers
258 views
I have a radgrid on page and i bind data on serverside. Bydefault sorting is set to false on grid. But on click of a checkbox on a container page, I want to sort grid data on specific column.  for example below, on click of a checkbox I want to sort my data as Active customer on top or Inactive customers on top.  How would I do that on clientside.? Can I enable sorting on individual column only?

ID Name Total Orders Active
1 Customer 1 9 TRUE
2 Customer 2 11 FALSE
3 Customer 3 2 FALSE
4 Customer 4 20 TRUE
5 Customer 5 31 TRUE
Eyup
Telerik team
 answered on 08 Apr 2013
5 answers
107 views
Hi

we are purchased q2 2012 .when we use the gird like inline add/edit as attached in the image file.

When i click Add new record .i have show 2 options one is insert and cancel.

Here i want to change the text insert into submit .

how can i achive it.i have attached the image for your reference

need your help

Thanks in advance
sanjay
Eyup
Telerik team
 answered on 08 Apr 2013
2 answers
135 views
Was wondering if something has changed with the latest version of the Telerik controls.

I am now unable to get a column griditem text unless the column is visible, where as I was able to get the value before.

Below is the code:
Dim gridItem As GridDataItem = DirectCast(e.Item, GridDataItem)
Dim pickedTemplate As String = gridItem("keyCampaignCreative").Text

When the column visible = "false", pickedTemplate = "&nbsp;", however if I set the column visible = "true" then I get the correct text needed.

This all changed when I upgraded to the latest version of the telerik controls.

Any help is much appreciated.
Andrey
Telerik team
 answered on 08 Apr 2013
1 answer
69 views
Two issues:

  • RadMenu Vertical Height

I have a RadMenu, vertical flow, inside of a pane (splitter).

Sub Issue 1:
If I don't set the height offset on the pane or splitter, it flows all the way to the bottom, and the footer text shows over this, rather than seeing the footer background color.

Sub Issue 2:
When i set the height offset, the footer displays as normal, but shifted WAY down below (no explicit height variables set on controls or in CSS, checked with Inspect Element, FireBug, searches against code base, etc...)

Sub Issue 3:
When I close up the sliding pane for menu navigation (to the left), that extremely long scroll to the bottom of the page to see the footer suddenly collapses.  Thus, it's a height issue with the Vertical RadMenu orientation.  Why?

This is my first post.  I've searched this forum for information...
I saw one note not to set height variables.  So, I check that.  That's the only thing of note...
If I missed something, rather than an explanation (DRY), link-me-please-me.
------

  • RadMenu Transparency Theme Vertical

When orienting the Transparency Theme to vertical, in a raw page, or, inside of the above pane, the link:hover overlay(s) show on the first two items.  The other themes don't do this...

I've Searched: Searches for "transparency" (as in the theme) usually lead to people looking to do menu transparency, not specific to the integrated Telerik theme.

Boyan Dimitrov
Telerik team
 answered on 08 Apr 2013
1 answer
280 views
I am having simple
<telerik:RadTextBox CssClass="Search-Element" ID="txtFirstName" runat="server" Width="100%"></telerik:RadTextBox>

In html output for class i get:
<input type="text" data-propertyname="FirstName" class="riTextBox riEnabled Search-Element" size="20" name="ctl00$ContentPlaceHolder1$ucTest$txtFirstName" id="ctl00_ContentPlaceHolder1_ucTest_txtFirstName">

Why is riTextBox riEnabled added? This makes me problem because i need to get all .Search-Element with JS
$('.Search-Element') is null because that riTextBox riEnabled
Vasil
Telerik team
 answered on 08 Apr 2013
0 answers
112 views
<table>
       <tr>
           <td>
               <asp:TextBox ID="txt" runat="server" TabIndex="0"></asp:TextBox>
               <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ValidationGroup="Goal"
                   ControlToValidate="txt" Display="None" ErrorMessage="Please select" SetFocusOnError="True"></asp:RequiredFieldValidator>
               <cc1:ValidatorCalloutExtender HighlightCssClass="highlight" ID="ValidatorCalloutExtender1"
                   TargetControlID="RequiredFieldValidator1" runat="server">
               </cc1:ValidatorCalloutExtender>
           </td>
       </tr>
       <tr>
           <td align="right">
               <span class="error">*</span>Start Date :
           </td>
           <td align="left">
               <telerik:RadDatePicker ID="radCalender" runat="server" TabIndex="1" Width="205">
                   <Calendar ID="Calendar4" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"
                       ViewSelectorText="x" runat="server">
                   </Calendar>
                   <DateInput ID="DateInput4" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy" runat="server">
                   </DateInput>
               </telerik:RadDatePicker>
               <asp:RequiredFieldValidator ID="rvCalender" runat="server" ControlToValidate="radCalender"
                   InitialValue="" Display="None" ValidationGroup="Goal" ErrorMessage="<%$Resources:CCMResource,USER_GOAL_STARTDATE %>"
                   SetFocusOnError="True"></asp:RequiredFieldValidator>
               <cc1:ValidatorCalloutExtender HighlightCssClass="highlight" ID="vcCalender" TargetControlID="rvCalender"
                   runat="server">
               </cc1:ValidatorCalloutExtender>
           </td>
       </tr>
       <tr>
           <td align="right">
               <span class="error">*</span> Managed Population : 
           </td>
           <td align="left">
               <telerik:RadComboBox ID="radComboManagedPopulationGoals" AppendDataBoundItems="true"
                   Width="200px" TabIndex="2" DataValueField="ProgramId" DataTextField="ProgramName"
                   runat="server">
                   <Items>
                       <telerik:RadComboBoxItem runat="server" Text="Select" Value="0" />
                       <telerik:RadComboBoxItem runat="server" Text="Item" Value="1" />
                   </Items>
               </telerik:RadComboBox>
               <asp:RequiredFieldValidator ID="rfvManagedPopulationGoals" runat="server" ValidationGroup="Goal"
                   ControlToValidate="radComboManagedPopulationGoals" InitialValue="Select" Display="None"
                   ErrorMessage="<%$Resources:CCMResource,Assignment_Select %>" SetFocusOnError="True"></asp:RequiredFieldValidator>
               <cc1:ValidatorCalloutExtender ID="vdCManagedPopulationGoals" TargetControlID="rfvManagedPopulationGoals"
                   runat="server">
               </cc1:ValidatorCalloutExtender>
           </td>
       </tr>
       <tr>
           <td>
               <asp:Button ID="btn" runat="server" ValidationGroup="Goal" />
           </td>
       </tr>
   </table>
Hi ,
I have a Problem in raddatePicker.
I have a form. In this, I have   RadDatePicker, RadCombobox and radbutton Controls and trhese are mandatory fields. on Button click it will call the Callout Extenders for mandatory Fields. In my Form First is RadDatePicker And next is RadCombobox.On buttonClick it showing first calloutoutextender for Radcombox instead of RadDatePicker. I want RaddatePicker's CalloutExtender will be called First and then rest of controls.

Thanks in Advance.
Prathyusha
Top achievements
Rank 1
 asked on 08 Apr 2013
1 answer
178 views
I can't find any documentation or examples of how to acheive the following.

I have a RadGrid using a panel/multipage with a RadWindow on one of the multipages, all inside a edit template. (See code below)

I would like to set the NavigateURL based on the values of two text box controls (on the same multipage).  These are the latitude and longitude of a location to be displayed in Bing maps.

http://dev.virtualearth.net/embeddedMap/v1/ajax/aerial?zoomLevel=10&center=41.095694_-85.109793&pushpins=41.095694_-85.109793


In the codebehind I can access and set only the RadGrid1 properties.

What is the method for finding the nested controls? Please provide your code example responses in VB.

Thanks in advance!

<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        function RowDblClick(sender, eventArgs) {
            sender.get_masterTableView().editItem(eventArgs.get_itemIndexHierarchical());
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0" DataSourceID="SqlDataSource1" GridLines="None" Skin="Office2010Blue" AllowAutomaticDeletes="True" AllowAutomaticInserts="True" AllowAutomaticUpdates="True">
    <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
        <Selecting AllowRowSelect="True" />
        <ClientEvents OnRowDblClick="RowDblClick" />
    </ClientSettings>
    <MasterTableView DataKeyNames="LocationID" DataSourceID="SqlDataSource1" CommandItemDisplay="Top">
        <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
        <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
 
        <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
 
        <Columns>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" FilterControlAltText="Filter EditCommandColumn column">
            </telerik:GridEditCommandColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText="Are you sure you want to delete this record? This action cannot be undone." FilterControlAltText="Filter column column" UniqueName="column">
            </telerik:GridButtonColumn>
            <telerik:GridBoundColumn DataField="LocationID" DataType="System.Int32" FilterControlAltText="Filter LocationID column" HeaderText="ID" ReadOnly="True" SortExpression="LocationID" UniqueName="LocationID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LocationName" FilterControlAltText="Filter LocationName column" HeaderText="LocationName" SortExpression="LocationName" UniqueName="LocationName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="InternalName" FilterControlAltText="Filter InternalName column" HeaderText="InternalName" SortExpression="InternalName" UniqueName="InternalName">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="LocationType" FilterControlAltText="Filter LocationType column" HeaderText="LocationType" SortExpression="LocationType" UniqueName="LocationType">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="EntityID" FilterControlAltText="Filter EntityID column" HeaderText="EntityID" SortExpression="EntityID" UniqueName="EntityID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Latitude" FilterControlAltText="Filter Latitude column" HeaderText="Latitude" SortExpression="Latitude" UniqueName="Latitude">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Longitude" FilterControlAltText="Filter Longitude column" HeaderText="Longitude" SortExpression="Longitude" UniqueName="Longitude" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Address1" FilterControlAltText="Filter Address1 column" HeaderText="Address1" SortExpression="Address1" UniqueName="Address1">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Address2" FilterControlAltText="Filter Address2 column" HeaderText="Address2" SortExpression="Address2" UniqueName="Address2" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="City" FilterControlAltText="Filter City column" HeaderText="City" SortExpression="City" UniqueName="City">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="State" FilterControlAltText="Filter State column" HeaderText="State" SortExpression="State" UniqueName="State">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ZIP" FilterControlAltText="Filter ZIP column" HeaderText="ZIP" SortExpression="ZIP" UniqueName="ZIP">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="County" FilterControlAltText="Filter County column" HeaderText="County" SortExpression="County" UniqueName="County" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Phone" FilterControlAltText="Filter Phone column" HeaderText="Phone" SortExpression="Phone" UniqueName="Phone" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Services" FilterControlAltText="Filter Services column" HeaderText="Services" SortExpression="Services" UniqueName="Services" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Amenities" FilterControlAltText="Filter Amenities column" HeaderText="Amenities" SortExpression="Amenities" UniqueName="Amenities" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Details" FilterControlAltText="Filter Details column" HeaderText="Details" SortExpression="Details" UniqueName="Details" Visible="False">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="moreInfoURL" FilterControlAltText="Filter moreInfoURL column" HeaderText="moreInfoURL" SortExpression="moreInfoURL" UniqueName="moreInfoURL" Visible="False">
            </telerik:GridBoundColumn>
        </Columns>
 
        <EditFormSettings EditFormType="Template">
            <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
            <FormTemplate>
                <telerik:RadTabStrip ID="RadTabStrip2" runat="server" Skin="Office2007" MultiPageID="RadMultiPage1"
                    SelectedIndex="0" Align="Justify" ReorderTabsOnSelect="True" Width="800px">
 
                    <Tabs>
                        <telerik:RadTab Text="General">
                        </telerik:RadTab>
 
                        <telerik:RadTab Text="Mapping" Selected="True">
                        </telerik:RadTab>
 
                        <telerik:RadTab Text="Photo">
                        </telerik:RadTab>
 
                        <telerik:RadTab Text="Services">
                        </telerik:RadTab>
 
                        <telerik:RadTab Text="Amenities">
                        </telerik:RadTab>
 
                        <telerik:RadTab Text="Details">
                        </telerik:RadTab>
                    </Tabs>
 
                </telerik:RadTabStrip>
                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" CssClass="pageView" Width="800px">
                    <!--- GENERAL TAB --->
                    <telerik:RadPageView ID="RadPageView1" runat="server">
                    </telerik:RadPageView>
 
                    <!--- MAPPING TAB --->
                    <telerik:RadPageView ID="RadPageView2" runat="server">
                        <table cellpadding="5" style="padding-top: 25px;">
                            <tr valign="top">
                                <td width="400">
                                    <table cellpadding="5">
                                        <tr>
                                            <td class="tdName">Latitude:</td>
                                            <td>
                                                <telerik:RadTextBox ID="txtLatitude" runat="server" LabelWidth="64px" Text='<%# Bind("Latitude") %>' Width="225px"></telerik:RadTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td class="tdName">Longitude:</td>
                                            <td>
                                                <telerik:RadTextBox ID="txtLongitude" runat="server" LabelWidth="64px" Text='<%# Bind("Longitude") %>' Width="225px"></telerik:RadTextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Button ID="btnLatLng" runat="server" Text="View Map" OnClick="btnLatLng_Click" CommandArgument="41.095694_-85.109793" /></td>
                                        </tr>
                                    </table>
                                </td>
                                <td width="400">
                                    <telerik:RadWindowManager Behaviors="Resize, Close, Maximize, Move" ID="RadWindowManager" DestroyOnClose="True"
                                        RestrictionZoneID="RestrictionZone" Opacity="99" runat="server" Width="300px" Height="400px" Visible="true" Skin="Office2007" Behavior="Resize, Close, Maximize, Move">
 
                                        <Windows>
                                            <telerik:RadWindow ID="RadWindow1" VisibleOnPageLoad="true" Title="Location Map" NavigateUrl='http://dev.virtualearth.net/embeddedMap/v1/ajax/aerial?zoomLevel=10¢er=41.095694_-85.109793&pushpins=41.095694_-85.109793'
                                                IconUrl="telerikFavicon.ico" Modal="True" runat="server" VisibleStatusbar="False" VisibleTitlebar="true" Visible="false">
                                            </telerik:RadWindow>
                                        </Windows>
 
                                    </telerik:RadWindowManager>
                                </td>
                            </tr>
                        </table>
 
                    </telerik:RadPageView>
 
                    <!--- PHOTO TAB --->
                    <telerik:RadPageView ID="RadPageView3" runat="server">
                        <table cellpadding="10">
                            <tr valign="top">
                                <td width="400">
                                    <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server">
                                    </telerik:RadAsyncUpload>
                                </td>
                                <td width="400" align="center"></td>
                            </tr>
                        </table>
                    </telerik:RadPageView>
 
                    <!--- SERVICES TAB --->
                    <telerik:RadPageView ID="RadPageView4" runat="server">
                        <telerik:RadEditor Visible="true" ID="RadEditor1" runat="server" Width="100%" Height="350px" Content='<%# Bind("Services") %>' Skin="Office2007" ToolbarMode="Default" ToolsFile="~/tools.xml"></telerik:RadEditor>
                    </telerik:RadPageView>
 
                    <!--- AMENITIES TAB --->
                    <telerik:RadPageView ID="RadPageView5" runat="server">
                        <telerik:RadEditor Visible="true" ID="RadEditor2" runat="server" Width="100%" Height="350px" Content='<%# Bind("Amenities") %>' Skin="Office2007" ToolbarMode="Default" ToolsFile="~/tools.xml"></telerik:RadEditor>
                    </telerik:RadPageView>
 
                    <!--- DETAILS TAB --->
                    <telerik:RadPageView ID="RadPageView6" runat="server">
                        <telerik:RadEditor Visible="true" ID="RadEditor3" runat="server" Width="100%" Height="350px" Content='<%# Bind("Details") %>' Skin="Office2007" ToolbarMode="Default" ToolsFile="~/tools.xml"></telerik:RadEditor>
                    </telerik:RadPageView>
 
                </telerik:RadMultiPage>
            </FormTemplate>
        </EditFormSettings>
 
        <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
    </MasterTableView>
 
    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 
    <FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>
Marin
Telerik team
 answered on 08 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?