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

I have a RadGrid, with
<tlk:RadGrid ID="oGrid" runat="server" AutoGenerateColumns="False" Height="470px"  
        AllowPaging="True" PageSize="100" 
        OnNeedDataSource="oGrid_NeedDataSource" AllowSorting="True"  
        OnInsertCommand="oGrid_InsertCommand" OnUpdateCommand="oGrid_UpdateCommand" OnDeleteCommand="oGrid_DeleteCommand" 
        OnItemDataBound="oGrid_ItemDataBound" OnCancelCommand="oGrid_CancelCommand" 
        GridLines="None" EnableViewState="false">
<MasterTableView CommandItemDisplay="Top" EditMode="InPlace" DataKeyNames="IDUser"
            InsertItemPageIndexAction="ShowItemOnCurrentPage" EnableNoRecordsTemplate="true">
            <CommandItemSettings AddNewRecordImageUrl="~/Images/add.png" RefreshImageUrl="~/Images/blank.gif" RefreshText="" />
            <NoRecordsTemplate>
                <div>&nbsp;</div>
            </NoRecordsTemplate>
             <Columns>
                <tlk:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn"
                    CancelImageUrl="~/Images/failed.png" InsertImageUrl="~/Images/ok.png"
                    UpdateImageUrl="~/Images/ok.png" Resizable="false">
                    <ItemStyle HorizontalAlign="Center" CssClass="CursorHand" />
                </tlk:GridEditCommandColumn>

When a row pass in edit mode for "update" all works fine. Click on update fires  "oGrid_UpdateCommand", click on cancel fires"oGrid_CancelCommand".

When I use "add a new user", a new row appears, but no more insertCommand and CancelCommand fire ? (the postback is perfomed, I stop in Page_load function but the "ogrid_InsertCommand" is not called.

The trys I have made :
    - comment ajax, the same problem occurs
    - try to set AllowAutomaticDeletes/Inserts/Updates to false : the problem still persists.
   - try to trace Params["__eventargstarget"], it is empty when insert is fired.

An idea ?

Thanks
Aurore
Aurore
Top achievements
Rank 1
 answered on 24 Sep 2009
1 answer
201 views
Hi,

I tried to set the selected Date on a timepicker for getting min_date to work.

The control updates the current time - but not the current Date. This way the correctly set minDate work.

Example:
selectedDate= Sat Sep 19 2009 19:17:00 GMT+0200
minDate=Wed Sep 16 2009 00:00:00 GMT+0200

Setting selectedDate toWed Sep 16 2009 10:00:00 GMT+0200 will change the selectedDate to:
Sat Sep 19 2009 10:00:00 GMT+0200 and not to th above value.

Do you have any ideas on what goes wrong?

My Code looks like this:
function js_fahrteingabe_zeitControl_setDate(controlId, dateIn){ 
    var tmpCtrlZeit = $find(controlId); 
    var currentDateTime=tmpCtrlZeit.get_timeView().getTime(); 
    var actTime=dateToTimeString( currentDateTime ); 
     
    var newDateTime = datetimeStringToDate(dateToDateString(dateIn) + " " + actTime); 
    tmpCtrlZeit.set_selectedDate(newDateTime); 
    var date = tmpCtrlZeit.get_selectedDate(); 
    date.setDate(newDateTime); 
    tmpCtrlZeit=null
     


Regards,
Torben

Martin
Telerik team
 answered on 24 Sep 2009
1 answer
51 views
Hi,
I'm curently updating a legacy web application which use the DataGrid from ASP.NET. And I'd like to replace it with the RadGrid, but I can't find the telerik equivalent of BoundColumn of ASP.NET. After searching on the internet I found this page, and it seems that GridBoundColumn is inside Telerik.dll. But I can't find this DLL in RadControls for ASP.NET AJAX Q2 2009.
Am I missing something ? How can I easily replace ASP.NET datagrids ?

Thanks in advance for your response,


Nicolas DORIER
Top achievements
Rank 1
 answered on 24 Sep 2009
1 answer
125 views
I am opening a new RadWindow from code behind adding it to the collection and that works fine.  The problem is when the window gets added to the collection all the other RadWindows that are currently open close.  Do you have any suggestions?
Georgi Tunev
Telerik team
 answered on 24 Sep 2009
3 answers
110 views
Regarding the XMLHttpPanel, I have a couple of questions.

  • Is the return data as small as say a json string would be or is the return package in fact json?
  • I see examples that talk to .asmx files (web services) but will it talk to a .svc file (wcf service)?
  • Once the data is retrieved, how does the data need to be packaged and returned?  Does it just go into a dictionary<obj, obj> or what? Or, can I just serialize my data into json myself and just return a json string?

Thanks much for the info...

chris

 

    
Pero
Telerik team
 answered on 24 Sep 2009
3 answers
301 views

I'm trying to call some javascript which returns true/false depending if it passes a test.  I want my page to post back when a button is clicked but it isn't posting back if I set the update control or if I return true/false in my javascript.  here is sample of my code.

This is a user control which is part of page which has other user controls.

 

<

 

script type="text/javascript">

 

 

 

 

 

function ValidateWithRegEx()

 

 

 {

 

var myRegxp =/^(([a-zA-Z]:)|(\\{2}\w+)\$?)(\\(\w[\w].*))+(.pdf|.PDF|.doc|.DOC|.xls|.XLS|.jpeg|.JPEG|.gif|.GIF|.tiff|.TIFF|.jpg|.JPG|.fla|.FLA|.avi|.AVI|.mov|.MOV|.wma|.WMA|.wmv|.WMV|.docx|.DOCX|.xlsx|.XLSX|.vsd|.VSD|.txt|.TXT)/;

 

 

 

 

 

var fileUploaderValue = document.getElementById("ctl00_cphCenterPane_UxAttachments1_FIPSFileUploader").value;

 

 

 

if( myRegxp.test(fileUploaderValue) )

{

 

return true;

}

 

else

 

 

{

 

alert(

'File trying to upload is invalid');
 
return false;

 

 

 }

}

 

 

 

 

</

 

script>

 

 

 

 

 

 

<

 

table runat="server" id="masterTable">

 

 

 

<tr>

 

<td style="width: 453px">

 

<asp:FileUpload ID="FIPSFileUploader" runat="server" Width="446px" /></td>

 

</tr>

 

<tr>

 

<td style="width: 453px">

 

<asp:Button ID="UploadFileButton" runat="server" Text="Upload File" OnClientClick="return ValidateWithRegEx();" OnClick="UploadFileButton_Click" />&nbsp;

 

 

 

 

<asp:Label ID="lblError" runat="server" ForeColor="Red" Width="422px"></asp:Label></td>

 

</tr>

 

 

</

 

table>

 

 

<

 

telerik:RadAjaxManagerProxy ID="AjaxManagerProxy" runat="server">

 

 

 

 

 

<AjaxSettings>

 

 

 

 

<telerik:AjaxSetting AjaxControlID="UploadFileButton">

 

 

 

 

<UpdatedControls>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="AttachmentsRadGrid" LoadingPanelID="UploadingPanel" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

</

 

telerik:RadAjaxManagerProxy>

 

 

 

 

&nbsp;

 

 

 

 

 

 

<br />

 

 

<

 

telerik:RadAjaxLoadingPanel ID="UploadingPanel" runat="server" Height="75px" Width="75px" InitialDelayTime="1">

 

 

 

 

 

<img alt="Loading..." src="../Images/animated_loading.gif" style="border-right: 0px;border-top: 0px; border-left: 0px; border-bottom:0px"/>

 

 

</

 

telerik:RadAjaxLoadingPanel>

 

 

 

<

 

telerik:RadGrid ID="AttachmentsRadGrid" runat="server" AutoGenerateColumns="False" GridLines="None" Skin="Forest">

 

 

 

 

 

<MasterTableView Caption="&lt;b&gt;Attachments&lt;/b&gt;" CellSpacing="-1">

 

 

 

<Columns>

 

 

 

<telerik:GridBoundColumn DataField="InspectionAttachmentId" ReadOnly="True" UniqueName="InspectionAttachmentId" Visible="False">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FileLocation" UniqueName="FileLocation" Visible="False">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="FileName" HeaderText="File Name" UniqueName="FileName">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="Description" HeaderText="Description" UniqueName="Description">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="CreatedDate" HeaderText="Created Date" UniqueName="CreatedDate">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn DataField="ModifiedDate" HeaderText="Modified Date" UniqueName="ModifiedDate">

 

 

 

</telerik:GridBoundColumn>

 

 

 

<telerik:GridEditCommandColumn>

 

 

 

</telerik:GridEditCommandColumn>

 

 

 

<telerik:GridButtonColumn CommandArgument="Delete" CommandName="Delete" Text="Remove" UniqueName="column">

 

 

 

</telerik:GridButtonColumn>

 

 

 

</Columns>

 

 

 

<EditFormSettings>

 

 

 

<EditColumn UniqueName="EditCommandColumn1">

 

 

 

</EditColumn>

 

 

 

</EditFormSettings>

 

 

 

</MasterTableView>

 

 

</

 

telerik:RadGrid>

 

 

 

Mira
Telerik team
 answered on 24 Sep 2009
1 answer
102 views
Hi,

I'm trying out a grid with about 50 rows, with scrolling and no paging.  The grid displays 15 rows and user has to scroll vertically to see the rest.

When the grid first displays, it naturally goes to the top of the grid displaying rows 1 through 15.  Say if depending on some other action from the user, I need to have to grid "position" itself so that row 45 is visible.  In other words, somehow scroll the grid in code so that when the grid first displays, row 45 is visible immediately without user having to scroll to it.  What's the best way to achive this?

Thanks.

Barry
Princy
Top achievements
Rank 2
 answered on 24 Sep 2009
1 answer
100 views
Why is class="ApplyClass" being applied to every link we embed in the editor?
Rumen
Telerik team
 answered on 24 Sep 2009
1 answer
117 views
Hi,

http://www.atlantictoyotany.com/new-cars-compare.aspx

When you select vehicles to compare, the menu tabs dissappear.
This happens in IE when you compare all 4 vehicles.

Here, Menu and Vehicle compare are two different user control on Master page.
for Vehicle compare : 

<asp:UpdatePanel ID="UpdatePanel3" runat="server">
    <ContentTemplate>
        <table width="100%" id="divVehicleInfo" runat="server" visible="false">
            <tr>
                <td align="center">
                    <asp:Button ID="btnRemove" runat="server" Text="Remove" OnClick="btnRemove_Click" />
                </td>
            </tr>
            <tr>
                <td valign="top">
                    <table width="245px" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td align="center">
                                <div style="text-align: center">
                                    <asp:Image ID="imgInfo" CssClass="imgInfo" runat="server" />
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="LabelsValProp">
                                <asp:Label ID="lblInfoYearMakeModelValue" CssClass="lblInfoYearValue" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr style="height: 28px;">
                            <td class="LabelsValProp">
                                <asp:Label ID="lblInfoTrimValue" CssClass="lblInfoTrimValue" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr class="LabelsValProp">
                            <td>
                                <asp:Label ID="lblInfoPrice" CssClass="lblInfoPrice" runat="server" Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr class="LabelsValProp">
                            <td>
                                <asp:Label ID="lblInfoSpecialPrice" CssClass="lblInfoSpecialPrice" runat="server"
                                    Text=""></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td width="100%" align="center">
                                <div id="divMPG" runat="server">
                                    <table width="70%" cellspacing="0" cellpadding="0">
                                        <tr class="divMPG">
                                            <td>
                                                <asp:Label ID="lblCityMPG" runat="server"></asp:Label>
                                            </td>
                                            <td>
                                                <br />
                                                <asp:Image ID="imgMPG" runat="server" ImageUrl="~/Images/gaspump.gif" Width="24"
                                                    Height="35" />
                                            </td>
                                            <td>
                                                <asp:Label ID="lblHighwayMPG" runat="server"></asp:Label>
                                            </td>
                                        </tr>
                                    </table>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="LabelsValProp">
                                <br />
                                <asp:Label ID="lblInfoEngineValue" CssClass="lblInfoEngineValue" runat="server"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td class="LabelsValProp">
                                <asp:Label ID="lblInfoTransValue" CssClass="lblInfoTransValue" runat="server"></asp:Label>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr>
                <td align="center">
                    <asp:ImageButton ID="btnMoreInfo" runat="server" CssClass="btnMoreInfo" ImageUrl="~/Images/Inventory/SmallButtons/btn_moreinfo_off.gif"
                        OnClick="btnMoreInfo_Click" onmouseover="this.src = 'Images/Inventory/SmallButtons/btn_moreinfo_on.gif'"
                        onmouseout="this.src = 'Images/Inventory/SmallButtons/btn_moreinfo_off.gif'" /><br />
                    <asp:ImageButton ID="btnMakeOffer" runat="server" CssClass="btnMoreInfo" ImageUrl="~/Images/Inventory/SmallButtons/btn_makeoffer_off.gif"
                        OnClick="btnMakeOffer_Click" onmouseover="this.src = 'Images/Inventory/SmallButtons/btn_makeoffer_on.gif'"
                        onmouseout="this.src = 'Images/Inventory/SmallButtons/btn_makeoffer_off.gif'" /><br />
                    <asp:ImageButton ID="btnTestDrive" runat="server" CssClass="btnMoreInfo" ImageUrl="~/Images/Inventory/SmallButtons/btn_testdrive_off.gif"
                        OnClick="btnTestDrive_Click" onmouseover="this.src = 'Images/Inventory/SmallButtons/btn_testdrive_on.gif'"
                        onmouseout="this.src = 'Images/Inventory/SmallButtons/btn_testdrive_off.gif'" />
                </td>
            </tr>
            <tr>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr id="divOtherOptions" runat="server">
                <td>
                    <fieldset>
                        <legend>Vehicle Info</legend>
                        <div id="divAllOtherOptions" runat="server">
                        </div>
                    </fieldset>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
<asp:UpdatePanel ID="UpdatePanel4" runat="server">
    <ContentTemplate>
        <table id="divShowCompareAnother" runat="server" visible="false">
            <tr>
                <td valign="top">
                    <asp:Label ID="Label1" runat="server" Text="Compare Another"></asp:Label><br />
                    <asp:DropDownList ID="ddlYear" CssClass="ddlYear" runat="server" AutoPostBack="true"
                        OnSelectedIndexChanged="ddlYear_SelectedIndexChanged">
                    </asp:DropDownList>
                    <br />
                    <asp:DropDownList ID="ddlMake" CssClass="ddlMake" runat="server" AutoPostBack="true"
                        OnSelectedIndexChanged="ddlMake_SelectedIndexChanged">
                    </asp:DropDownList>
                    <br />
                    <asp:DropDownList ID="ddlModel" CssClass="ddlModel" runat="server" Width="200px"
                        AutoPostBack="true" OnSelectedIndexChanged="ddlModel_SelectedIndexChanged">
                    </asp:DropDownList>
                    <asp:DropDownList ID="ddlTrim" CssClass="ddlTrim" runat="server" Width="200px" AutoPostBack="true"
                        OnSelectedIndexChanged="ddlTrim_SelectedIndexChanged">
                    </asp:DropDownList>
                    <br />
                    <asp:Button ID="btnCompare" runat="server" Text="Compare" OnClick="btnCompare_Click" /><br />
                    <asp:Label ID="lblNoVehicleFound" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>

This is the code for Vehicle User control. If I dont Use this AJAX (update panel) at that time It works fine. But with AJAx it's not working.

Can you please help me in that ?

Thanks
Dipsa.






Kamen Bundev
Telerik team
 answered on 24 Sep 2009
1 answer
136 views

Are there known problems of a RadListBox with transfer turned on working when in a RadXMLHttpPanel?  Outside of the panel the transfer (Telerik's example) works fine, but, when I place it in a working RadXMLHttpPanel, it looses it's transfer functionality?

Note: The RadXMLHttpPanel that I'm putting the listbox control in works fine and is updating my controls asynch. It's the listbox transfer functionality that is not working.

Any ideas? I really need the list transfer functionality, I could use a JQuery one, but prefer to stick to the Telerik control.
Below is code example with html and javascript. Thanks much in advance...chris

***** Javascript ********

 

function

 

SecurityRowClick(sender, eventArgs)

 

{

 

 

 

 

try

 

 

{

 

 

 

 

 

var userId = eventArgs.getDataKeyValue(userIdFieldName);

 

 

 

 

 

var xmlPanel = $find(userDetailsXMLPanelClientId);

 

xmlPanel

.set_value(userId);

 

 

 

 

 

}

 

 

catch (e)

 

 

{

 

 

 

 

alert

(e.message);

 

 

 

 

 

}

 

}

 

 



******** HTML ***********

 

<

 

telerik:RadXmlHttpPanel

 

 

ID="ui_UserDetailsXMLPanel"

 

 

runat="server"

 

 

OnServiceRequest="UserXmlPanelBind"

 

 

OnClientResponseEnded="UserDetailsBound">

 

 

 

 

 

 

<div id="UserDetails">

 

 

<!-- command icons start -->

 

 

 

 

 

<div style="padding-top: 10px;">

 

 

 

 

 

<!-- edit icon start -->

 

 

 

 

 

<div id="EditUserAccount_Cmd" style="clear: both; width: 735px;">

 

 

 

 

 

<div id="UserRemove" onclick="DeleteUser()" style="float: right;">delete</div>

 

 

 

 

 

<div style="float: left; width: 15px; float: right;">&nbsp;</div>

 

 

 

 

 

<div id="UserEdit" onclick="EditUser()" style="float: right;">edit</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- edit icon end -->

 

 

 

 

 

 

<!-- save / cancel icon start -->

 

 

 

 

 

<div id="SaveUserAccount_Cmd" style="clear: both; width: 730px;">

 

 

 

 

 

<div id="Stop" onclick="CancelUpdate()" style="float: right;">cancel</div>

 

 

 

 

 

<div style="float: left; width: 15px; float: right;">&nbsp;</div>

 

 

 

 

 

<div id="Save" onclick="UpdateUser()" style="float: right;">update</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- save / cancel icon end -->

 

 

 

 

 

</div>

 

 

 

 

 

<!-- command icons end -->

 

 

 

 

 

 

<!-- user info start -->

 

 

 

 

 

<div style="clear: both;">

 

 

 

<!-- user details start -->

 

 

 

 

 

<div style="float: left; width: 360px;">

 

 

 

 

 

 

<div class="section_header">

 

 

 

 

User Details

 

</div>

 

 

 

 

 

 

<!-- full name start -->

 

 

<div id="FullName">

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Name

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<span id="ui_Name_valueContainer">

 

 

 

 

 

<div id="ui_Name_value" runat="server"></div>

 

 

 

 

 

</span>

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- full end -->

 

 

 

 

 

 

<!-- name details start -->

 

 

 

 

 

<div id="ui_NameDetails" runat="server">

 

 

 

<!-- first name start -->

 

 

 

 

 

<div class="form_title_data_container" style="padding-bottom: 5px;">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

First Name

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_FirstName_value" runat="server"></div>

 

 

 

 

 

<input id="ui_FirstName_edit" type="text" class="textbox" runat="server" />

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- first name end -->

 

 

 

 

 

 

<!-- middle initial start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Middle Initial

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_MiddleInitial_value" runat="server"></div>

 

 

 

 

 

<input id="ui_MiddleInitial_edit" type="text" class="textbox" runat="server" />

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- middle initial end -->

 

 

 

 

 

 

<!-- last name start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Last Name

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_LastName_value" runat="server"></div>

 

 

 

 

 

<input id="ui_LastName_edit" type="text" class="textbox" runat="server"/>

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- last name end -->

 

 

 

 

 

</div>

 

 

 

 

 

<!-- name details end -->

 

 

 

 

 

 

<!-- email start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Email

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_Email_value" runat="server"></div>

 

 

 

 

 

<input id="ui_Email_edit" type="text" class="textbox" runat="server"/>

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- email end -->

 

 

 

 

 

 

<!-- username start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Username:

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_Username_value" runat="server"></div>

 

 

 

 

 

<input id="ui_Username_edit" type="text" class="textbox" runat="server" />

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- username end -->

 

 

 

 

 

 

<!-- password start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Password

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_Password_value" runat="server"></div>

 

 

 

 

 

<input name="ui_Password_edit" id="ui_Password_edit" type="text" class="textbox" runat="server" />

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- password end -->

 

 

 

 

 

 

<!-- account enabled start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Account Enabled

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_Status_value" runat="server"></div>

 

 

 

 

 

<asp:DropDownList runat="server" ID="ui_Status_edit" CssClass="textbox">

 

 

 

 

 

<asp:ListItem Text="Enabled" Value="false"></asp:ListItem>

 

 

 

 

 

<asp:ListItem Text="Disabled" Value="true"></asp:ListItem>

 

 

 

 

 

</asp:DropDownList>

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- account enabled end -->

 

 

 

 

 

 

<!-- last login start -->

 

 

 

 

 

<div class="form_title_data_container">

 

 

 

 

 

<div class="form_field_title">

 

 

 

 

Last Login

 

</div>

 

 

 

 

 

<div style="float: left;">

 

 

 

 

 

<div id="ui_LastLogin_value" runat="server"></div>

 

 

 

 

 

</div>

 

 

 

 

 

</div>

 

 

 

 

 

<!-- last login end -->

 

 

 

 

 

</div>

 

 

 

 

 

<!-- user details end -->

 

 

 

 

 

 

<!-- margin start -->

 

 

 

 

 

<div style="float: left; width: 20px;">

 

 

 

 

 

&nbsp;

 

 

 

 

 

</div>

 

 

 

 

 

<!-- margin end -->

 

 

 

 

 

 

<!-- roles start -->

 

 

<div style="float: left; width: 360px;">

 

 

 

 

 

<div class="section_header">

 

 

 

 

Roles

 

</div>

 

 

 

 

 

<telerik:RadListBox runat="server" ID="RadListBoxSource" Height="200px" Width="150px"

 

 

 

 

 

AllowTransfer="true" TransferToID="RadListBoxDestination">

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadListBoxItem Text="Argentina" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Australia" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Brazil" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Canada" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Chile" />

 

 

 

 

 

<telerik:RadListBoxItem Text="China" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Egypt" />

 

 

 

 

 

<telerik:RadListBoxItem Text="England" />

 

 

 

 

 

<telerik:RadListBoxItem Text="France" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Germany" />

 

 

 

 

 

<telerik:RadListBoxItem Text="India" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Indonesia" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Kenya" />

 

 

 

 

 

<telerik:RadListBoxItem Text="Mexico" />

 

 

 

 

 

<telerik:RadListBoxItem Text="New Zealand" />

 

 

 

 

 

<telerik:RadListBoxItem Text="South Africa" />

 

 

 

 

 

<telerik:RadListBoxItem Text="USA" />

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadListBox>

 

 

 

 

 

<telerik:RadListBox runat="server" ID="RadListBoxDestination" Height="200px" Width="150px" />

 

 

 

 

 

</div>

 

 

 

 

 

<!-- roles end -->

 

 

 

 

 

 

</div>

 

 

 

 

 

<!-- user info end -->

 

 

 

 

 

 

</div>

 

 

</telerik:RadXmlHttpPanel>

 

Lini
Telerik team
 answered on 24 Sep 2009
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?