Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
211 views
Im unable to set RadTextBox text server side when it's in MultiLine text mode.
If I change TextMode to single line the prob dosent happen.

Tryed to search arround the foruns but havent found this particular problem reported before... is there any solution for this?
Alberto
Top achievements
Rank 1
 answered on 21 Jun 2010
1 answer
52 views
In this sample:
http://demos.telerik.com/aspnet-ajax/window/examples/restrictionzone/defaultcs.aspx

When you are using IE6 or IE7 and maxime a window, the menu appears behind.

Also when I use IE or IE7 I have a restrictionzone but when I create a new window, it doesnt respect the restrictionzode and the menu always appears behind the window.

I have z-index in the correct order, but this behavior is still present.

With IE8 all works fine. The problem is I have customers with Ie6 and IE7.

Thanks.

Georgi Tunev
Telerik team
 answered on 21 Jun 2010
2 answers
345 views
Hi,

I have a RadGrid and it get popultated from a view, but I want to stop it as it inserts into one of the colums and I want todo some things here, and I can get the event and I can find everything I find my value that I want to change, but after chaneing it nothing happends.

My guess is that it has either already been bound, or that I have to rebind the grid or something similar so I hope I could get an answer here. Some of my sample code and what I want todo, maybe someone has a better ide on how to handle the problem.

 

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

{

 

 

    if (e.Item is GridDataItem)
   {

 

    GridDataItem dataItem = (GridDataItem)e.Item;

 

    DataRowView groupDataRow = (DataRowView)e.Item.DataItem;

 

    string test = groupDataRow.Row.ItemArray[1].ToString();

 

    groupDataRow.Row.ItemArray[1] = "testing";

 

    }

}

Now this simple code is just used for testing as you can guess, if I put a break there I can see all the values fine, the string called test gets the right value and everything, but I then try to change the groupDataRow.Row.ItemArray[1] = "testing"; nothing happens, it doesn't crash but the grid still has the old value that I can see in my test string.

What I want todo here is to simply replace the string with a link, I have a method that will get my link and it should only do that so a psedocode would look something like:

 

protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)

{

 

 

    if (e.Item is GridDataItem)

    {

 

 

    GridDataItem dataItem = (GridDataItem)e.Item;

 

    DataRowView groupDataRow = (DataRowView)e.Item.DataItem;
    Hyperlink link = CreateLink(groupDataRow.Row.ItemArray[3]);

 

    groupDataRow.Row.ItemArray[1] = link; 

    }

}

This would then use one of the values to create the link and then I would simply replace the text with that link, where the CreateLink function would set the correct link and text for it. Maybe there is another way todo this, but as I said this grid is bound to a sqlview, maybe you can do links or hrefs there, I don't know tbh.

Thanks for any help!

 

 
Edit: The formating on the code looks strange, but I hope you can live with that since I can't change it..

 

 

Henrik Tegman
Top achievements
Rank 1
 answered on 21 Jun 2010
1 answer
130 views
I followed the demo in this link http://demos.telerik.com/aspnet-ajax/editor/examples/editorastextbox/defaultcs.aspx
trying to get a textbox like RadEditor.  I also following the http://www.telerik.com/community/forums/aspnet-ajax/editor/editor-shows-a-wide-bolder-at-bottom.aspx to modify the css to prevent bottom bolder from disapearing.
However I still have issue with Firefox when AutoResizeHeight=true.

Please see attached screenshot:
In IE, it looks fine, but in Firefox (v3.5.9) the lower bolder disapears.

Here is my code in the page.  Anyone know how I can fix it?  Thanks

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Ed.WebForm1" %>
    <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
<telerik:RadScriptManager ID="m" runat="server">
    </telerik:RadScriptManager>

<style type="text/css">   
    /* The following CSS needs to be copied to the page to produce textbox-like RadEditor */
    .reLeftVerticalSide,
    .reRightVerticalSide,
    .reToolZone,
    .reToolCell
    {
        background: white !important;
    }
   
    .reContentCell
    {
        border-width: 0 !important;
    }
   
    .RadEditor
    {
        filter: chroma(color=c2dcf0);
    }

    </style>
    <br />
    <br/>
      <br />
    <br/>
      <br />

    <telerik:RadEditor ID="Q" Runat="server" Height="150px" Width="660px" ToolsWidth="660px" ToolbarMode="ShowOnFocus" EditModes="Design" AutoResizeHeight="true" Skin="Vista">
        </telerik:RadEditor>
    </form>
</body>
</html>



Rumen
Telerik team
 answered on 21 Jun 2010
3 answers
303 views
Hi!


how to give setfocus to a specific radwindow?

plz help...


thanks in advance...
Georgi Tunev
Telerik team
 answered on 21 Jun 2010
1 answer
237 views
Hi,
      How do you maintain the value of a selected checkbox in a RadGrid on postback. I have enable client selection set to true and have a rad code script block. the html is defined below. Please help

Thanks

Robert


< ID="grv_cand_shifts" runat="server" AllowFilteringByColumn="True"
                AllowPaging="True" ExportSettings-ExportOnlyData="true" ExportSettings-IgnorePaging="true"
                AllowSorting="True" GridLines="None" AutoGenerateColumns="False" Skin="<%$ AppSettings:TelerikControlSkin %>"
                ShowFooter="True" Width="100%" OnPreRender="grv_my_shifts_OnPreRender" Message="" PageSize="20">
                <MasterTableView DataKeyNames="id" Width="100%">
                    <Columns>
                        <telerik:GridClientSelectColumn UniqueName="ClientSelectColumn" />
                        <telerik:GridBoundColumn DataField="id" HeaderText="id" SortExpression="id" UniqueName="id"
                            Visible="False">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="shift_date" HeaderText="Shift date" ReadOnly="True"
                            UniqueName="shift_date" DataFormatString="{0:dd/MM/yyyy}">
                
                        </telerik:GridBoundColumn>
                    </Columns>
                </MasterTableView>
                <ClientSettings>
                    <Selecting AllowRowSelect="True" />
                    <ClientEvents OnFilterMenuShowing="filterMenuShowing" OnGridCreated="getGridObject" />
                </ClientSettings>
                <ExportSettings ExportOnlyData="True" IgnorePaging="True">
                </ExportSettings>
       
                <FilterMenu OnClientShown="MenuShowing">
                </FilterMenu>
            </>
Shinu
Top achievements
Rank 2
 answered on 21 Jun 2010
1 answer
102 views
I'm trying to make my TimePickers look like the <asp:TextBox ...> next to it.  I've tried:

- apply a CSS class with "border-style: inset;"

- set DateInput-BorderStyle="Inset"

- set Skin="" [on both TimePicker and DateInput]

None of the above works.

[And yes, I've seen this: http://www.telerik.com/community/forums/aspnet-ajax/input/radnumerictextbox-border.aspx -- it didn't help]

Dimo
Telerik team
 answered on 21 Jun 2010
4 answers
166 views
Hi,

I have empty spaces on my column names. When I am trying to do groupby I am getting error. Is there any way that i can groupby column names even if i have spaces in column names. I cant change the column names in sql server. I am calling storeproc so i cant even change the query in program. And I am not using mastertableview. I am directly binding the columns to the radgrid.

Please let me know if there is any solution. Here is My radgrid.
<telerik:RadGrid ID="gvTrackers" Height="550px" runat="server" CallbackMode="true" 
            Serialize="true" FolderStyle="styles/style_11" AllowPaging="true" AllowSorting="True" 
            GridLines="None" AutoGenerateColumns="true" ShowGroupPanel="True" EnableHeaderContextMenu="true" 
            EnableHeaderContextFilterMenu="true" AllowMultiRowSelection="true" AllowFilteringByColumn="True" 
            OnNeedDataSource="gvTrackers_NeedDataSource" OnItemCreated="gvTrackers_ItemCreated" 
            OnExcelMLExportStylesCreated="gvTrackers_ExcelMLExportStylesCreated" OnExcelMLExportRowCreated="gvTrackers_ExcelMLExportRowCreated" 
            OnItemCommand="gvTrackers_ItemCommand"> 
            <HeaderStyle Height="80px" BackColor="#004000" Font-Size="8pt" Font-Bold="True" ForeColor="White" 
                HorizontalAlign="Center" BorderColor="White" BorderWidth="0px" /> 
            <ExportSettings IgnorePaging="true" ExportOnlyData="true"> 
            <Pdf AllowModify="false" AllowPrinting="true" PageWidth="16in" /> 
            </ExportSettings> 
            <MasterTableView AllowMultiColumnSorting="true" CommandItemDisplay="Top"> 
                <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true" 
                    ShowExportToCsvButton="true" ShowExportToPdfButton="true" ShowAddNewRecordButton="false" /> 
            </MasterTableView> 
            <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True"> 
                <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                <Selecting AllowRowSelect="True"></Selecting> 
                <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True" 
                    ResizeGridOnColumnResize="False"></Resizing> 
            </ClientSettings> 
            <GroupingSettings ShowUnGroupButton="true" /> 
            <PagerStyle Mode="NextPrevAndNumeric" HorizontalAlign="Right" Font-Bold="true" AlwaysVisible="true" /> 
        </telerik:RadGrid> 


One more question. Is there anyway that i can get print option to the radgrid. Like if press print button it should the all columns from the radgrid directly without exporting to any format file. Is there any option in radgrid.

Thanks
Babu
Pavlina
Telerik team
 answered on 21 Jun 2010
1 answer
151 views
Hi all.
In radgrid, after some operation on client side I want to refresh the grid, so I use __doPostBack(gridid). Update panel is refreshing, but only Page_Load is fired, not needdatasource event. How can I refresh the update panel and refresh the data in grid?
Shinu
Top achievements
Rank 2
 answered on 21 Jun 2010
1 answer
234 views

Hi,

I am using radGrid with CommandItem,with that I am using ASP.Net Ajax CalendarExtender with the text box,
but when I am trying to find the Textbox with javascript,It is returning Null,(Please look into Call and Call1 JavaScript function.)

Please look at the below code ,and check where I am wrong ? Error is there in 

 

 

//document.getElementById("textBoxEndMonthYear").value = target.date.format("MMM yyyy"); 
/document.getElementById("textBoxEndMonthYear") is returing null.

<%@ Page Language="C#" MasterPageFile="~/ReAPComplete.Master" AutoEventWireup="true" 
    CodeBehind="ReleaseManagement.aspx.cs" Inherits="NFP.PPP.WebApp.ReleaseManagement" 
    Title="Project Portfolio Prioritization" %> 
 
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server" 
    EnableViewState="true">  
 
    <script type="text/javascript" language="javascript">  
 
        function onCalendarShown() {   
        //debugger;  
 
            var cal = $find("calendar1");  
            //Setting the default mode to month  
            cal._switchMode("months", true);  
 
            //Iterate every month Item and attach click event to it  
            if (cal._monthsBody) {  
                for (var i = 0; i < cal._monthsBody.rows.length; i++) {  
                    var row = cal._monthsBody.rows[i];  
                    for (var j = 0; j < row.cells.length; j++) {  
                        Sys.UI.DomEvent.addHandler(row.cells[j].firstChild, "click", call);  
                    }  
                }  
            }  
        }  
 
        function onCalendarHidden() {  
//debugger;  
            var cal = $find("calendar1");  
            //Iterate every month Item and remove click event from it  
            if (cal._monthsBody) {  
                for (var i = 0; i < cal._monthsBody.rows.length; i++) {  
                    var row = cal._monthsBody.rows[i];  
                    for (var j = 0; j < row.cells.length; j++) {  
                        Sys.UI.DomEvent.removeHandler(row.cells[j].firstChild, "click", call);  
                    }  
                }  
            }  
 
        }  
 
        function call(eventElement) {  
            // debugger;  
            var target = eventElement.target;  
            switch (target.mode) {  
                case "month":  
                    var cal = $find("calendar1");  
                    cal._visibleDate = target.date; //target.date.format("MMM yyyy")  
                   //document.getElementById("textBoxEndMonthYear").value = target.date.format("MMM yyyy");  
                    cal.set_selectedDate(target.date);  
                    cal._switchMonth(target.date);  
                    cal._blur.post(true);  
                    cal.raiseDateSelectionChanged();  
                    break;  
            }  
        }  
          
        function onCalendarShown1() {  
 
            var cal = $find("calendar2");  
            //Setting the default mode to month  
            cal._switchMode("months", true);  
 
            //Iterate every month Item and attach click event to it  
            if (cal._monthsBody) {  
                for (var i = 0; i < cal._monthsBody.rows.length; i++) {  
                    var row = cal._monthsBody.rows[i];  
                    for (var j = 0; j < row.cells.length; j++) {  
                        Sys.UI.DomEvent.addHandler(row.cells[j].firstChild, "click", call1);  
                    }  
                }  
            }  
        }  
 
        function onCalendarHidden1() {  
 
            var cal = $find("calendar2");  
            //Iterate every month Item and remove click event from it  
            if (cal._monthsBody) {  
                for (var i = 0; i < cal._monthsBody.rows.length; i++) {  
                    var row = cal._monthsBody.rows[i];  
                    for (var j = 0; j < row.cells.length; j++) {  
                        Sys.UI.DomEvent.removeHandler(row.cells[j].firstChild, "click", call1);  
                    }  
                }  
            }  
 
        }  
 
        function call1(eventElement) {  
            // debugger;  
            var target = eventElement.target;  
            switch (target.mode) {  
                case "month":  
                    var cal = $find("calendar2");  
                    cal._visibleDate = target.date; //target.date.format("MMM yyyy")  
                    //document.getElementById("selectedDate").value = target.date.format("ddMMMyyyy");  
                    //document.getElementById("textBoxEndMonthYear").value = target.date.format("MMM yyyy");  
                    cal.set_selectedDate(target.date);  
                    cal._switchMonth(target.date);  
                    cal._blur.post(true);  
                    cal.raiseDateSelectionChanged();  
                    break;  
            }  
        }  
    </script> 
 
    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" 
        EnableAJAX="true">  
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /> 
        <div style="padding-top: 20px; padding-left: 2%">  
            <asp:HiddenField ID="hiddenFieldReleaseId" runat="server" /> 
            <asp:Label ID="label1" runat="server" Text="Release Management" Font-Bold="true" 
                ForeColor="DarkBlue"></asp:Label> 
            <telerik:RadGrid ID="radGridManageReleases" Width="800px" runat="server" OnUpdateCommand="radGridManageReleases_UpdateCommand" 
                AllowAutomaticUpdates="true" AllowAutomaticDeletes="true" AllowAutomaticInserts="true" 
                OnDeleteCommand="radGridManageReleases_DeleteCommand" AllowPaging="true" ItemStyle-HorizontalAlign="Left" 
                AutoGenerateColumns="false" PagerStyle-AlwaysVisible="true" PagerStyle-Mode="NextPrevAndNumeric" 
                ShowGroupPanel="True" GridLines="None" PageSize="10" GroupHeaderItemStyle-HorizontalAlign="Left" 
                OnItemCommand="radGridManageReleases_ItemCommand" GroupHeaderItemStyle-Font-Bold="true" 
                HeaderStyle-Font-Bold="true" OnNeedDataSource="radGridManageReleases_NeedDataSource" 
                HeaderStyle-HorizontalAlign="Left">  
                <MasterTableView EnableColumnsViewState="true" CommandItemDisplay="Top" Width="800px" 
                    TableLayout="Fixed" DataKeyNames="ReleaseID, ReleaseName">  
                    <Columns> 
                        <telerik:GridBoundColumn DataField="ReleaseID" HeaderText="ReleaseID" UniqueName="Release ID" 
                            Visible="false" Display="false">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="SerialNumber" HeaderText="S.No" UniqueName="SerialNumber" 
                            Visible="true" Display="true">  
                            <HeaderStyle Width="35px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="ReleaseName" HeaderText="Release Name" Visible="true" 
                            UniqueName="ReleaseName" Display="true">  
                            <HeaderStyle Width="80px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridTemplateColumn DataField="StartMonth" HeaderText="StartMonth" UniqueName="StartMonth" 
                            Display="false" Visible="false">  
                            <EditItemTemplate> 
                                <asp:DropDownList ID="ddlStartMonth" Height="200px" runat="server" DataTextField="MonthName" 
                                    DataValueField="MonthId" DataSource='<%# (months)  %>' SelectedValue='<%# Bind("StartMonth")%>' /> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <%# DataBinder.Eval(Container.DataItem, "StartMonth")%> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridTemplateColumn DataField="EndMonth" HeaderText="EndMonth" UniqueName="EndMonth" 
                            Display="false" Visible="false">  
                            <EditItemTemplate> 
                                <asp:DropDownList ID="ddlEndMonth" Height="200px" runat="server" DataTextField="MonthName" 
                                    DataValueField="MonthId" DataSource='<%# (months)  %>' SelectedValue='<%# Bind("EndMonth")%>' /> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <%# DataBinder.Eval(Container.DataItem, "EndMonth")%> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                        <telerik:GridBoundColumn DataField="StartMonthYear" HeaderText="Start Month" UniqueName="StartMonthYear" 
                            Display="true">  
                            <HeaderStyle Width="70px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="EndMonthYear" HeaderText="End Month" UniqueName="EndMonthYear" 
                            Display="true">  
                            <HeaderStyle Width="70px" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="DeveloperWorkingHours" HeaderText="Developer Working Hours" 
                            Visible="true" UniqueName="DeveloperWorkingHours" Display="true">  
                            <HeaderStyle Width="110px" /> 
                            <ItemStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="QAWorkingHours" HeaderText="QA Working Hours" 
                            Visible="true" UniqueName="QAWorkingHours" Display="true">  
                            <HeaderStyle Width="90px" /> 
                            <ItemStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="TotalAvailableDevelopmentHrs" HeaderText="Total Available Development Hrs" 
                            Visible="true" UniqueName="TotalAvailableDevelopmentHrs" Display="true">  
                            <HeaderStyle Width="130px" /> 
                            <ItemStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn DataField="AssignedDevelopmentHrs" HeaderText="Assigned Development Hrs" 
                            Visible="true" UniqueName="AssignedDevelopmentHrs" Display="true">  
                            <HeaderStyle Width="100px" /> 
                            <ItemStyle HorizontalAlign="Center" /> 
                        </telerik:GridBoundColumn> 
                        <telerik:GridTemplateColumn UniqueName="DevCapacity" Display="true" Visible="true">  
                            <EditItemTemplate> 
                            </EditItemTemplate> 
                            <ItemTemplate> 
                                <asp:LinkButton ID="lnkDevCapacity" CommandArgument='<%# Bind("ReleaseID")%>' runat="server" 
                                    Style="color: blue" Text="View Dev Capacity" OnClick="lnkDevCapacity_Click"></asp:LinkButton> 
                            </ItemTemplate> 
                        </telerik:GridTemplateColumn> 
                    </Columns> 
                    <CommandItemTemplate> 
                        <div style="padding: 5px 5px;">  
                            <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert" Visible='<%# !radGridManageReleases.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/AddRecord.gif" />Add New</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="btnEditSelected" runat="server" CommandName="EditSelected" Visible='<%# radGridManageReleases.EditIndexes.Count == 0 %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/Edit.gif" />Edit</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# radGridManageReleases.EditIndexes.Count > 0 %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/Update.gif" />Update</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="btnCancel" CausesValidation="false" runat="server" CommandName="CancelAll" 
                                Visible='<%# radGridManageReleases.EditIndexes.Count > 0 || radGridManageReleases.MasterTableView.IsItemInserted %>'><img style="border:0px;vertical-align:middle;" alt="" src="Images/Cancel.gif" />Cancel</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Delete all selected customers?')" 
                                runat="server" CommandName="DeleteSelected"><img style="border:0px;vertical-align:middle;" alt="" src="Images/Delete.gif" />Delete</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="LinkButtonAssign" runat="server" CommandName="AssignResources"><img style="border:0px;vertical-align:middle;" alt="Assign Resources" src="Images/Refresh.gif" />Allocate Resource</asp:LinkButton>&nbsp;&nbsp;  
                            <asp:LinkButton ID="LinkButton4" CausesValidation="false" runat="server" CommandName="RebindGrid"><img style="border:0px;vertical-align:middle;" alt="" src="Images/Refresh.gif" />Refresh</asp:LinkButton> 
                        </div> 
                    </CommandItemTemplate> 
                    <EditFormSettings EditFormType="Template">  
                        <EditColumn UniqueName="EditColumn">  
                        </EditColumn> 
                        <FormTemplate> 
                            <table id="tblGridEdit" runat="server" cellpadding="2" style="width: 100%; height: 100%;">  
                                <tr> 
                                    <td style="width: 20%" align="right">  
                                        Release Name:&nbsp;  
                                    </td> 
                                    <td> 
                                        <asp:TextBox ID="txtReleaseName" BorderWidth="1" Width="30%" Text='<%# Bind( "ReleaseName") %>' 
                                            runat="server"></asp:TextBox> 
                                        <asp:RequiredFieldValidator ID="rfvReleaseName" runat="server" ErrorMessage="*" ControlToValidate="txtReleaseName" 
                                            SetFocusOnError="True"></asp:RequiredFieldValidator> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="width: 20%" align="right">  
                                        Start Month and Year:  
                                    </td> 
                                    <td> 
                                        <%--   <asp:DropDownList ID="ddlFromMonth" runat="server" SelectedValue='<%# Bind("StartMonth") %>' 
                                            DataSource='<%# (months) %>' AppendDataBoundItems="True" DataTextField="MonthName" 
                                            DataValueField="MonthId">  
                                            <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem> 
                                        </asp:DropDownList>--%> 
                                        <asp:TextBox ID="textBoxStartMonthYear" runat="server" Text='<%# Bind( "StartMonthYear") %>'></asp:TextBox> 
                                        <cc1:CalendarExtender ID="calenderExtenderStartMonthYear" runat="server" OnClientHidden="onCalendarHidden" 
                                            OnClientShown="onCalendarShown" BehaviorID="calendar1" Enabled="True" TargetControlID="textBoxStartMonthYear" 
                                            Format="MMM yyyy">  
                                        </cc1:CalendarExtender> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="width: 20%" align="right">  
                                        End Month and Year:  
                                    </td> 
                                    <td> 
                                        <%--  <asp:DropDownList ID="ddlToMonth" runat="server" SelectedValue='<%# Bind("EndMonth") %>' 
                                            DataSource='<%# (months) %>' AppendDataBoundItems="True" DataTextField="MonthName" 
                                            DataValueField="MonthId">  
                                            <asp:ListItem Selected="True" Text="Select" Value=""></asp:ListItem> 
                                        </asp:DropDownList>--%> 
                                        <asp:TextBox ID="textBoxEndMonthYear" runat="server" Text='<%# Bind( "EndMonthYear") %>'></asp:TextBox> 
                                        <cc1:CalendarExtender ID="calenderExtenderEndMonthYear" runat="server" OnClientHidden="onCalendarHidden1" 
                                            OnClientShown="onCalendarShown1" BehaviorID="calendar2" Enabled="True" TargetControlID="textBoxEndMonthYear" 
                                            Format="MMM yyyy">  
                                        </cc1:CalendarExtender> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="width: 20%" align="right">  
                                        Developer Working Hours:&nbsp;  
                                    </td> 
                                    <td> 
                                        <asp:TextBox ID="txtDeveloperWorkingHours" BorderWidth="1" Width="30%" Text='<%# Bind( "DeveloperWorkingHours") %>' 
                                            runat="server"></asp:TextBox> 
                                        <asp:RequiredFieldValidator ID="rfvDeveloperWorkingHours" runat="server" ErrorMessage="*" 
                                            ControlToValidate="txtDeveloperWorkingHours" SetFocusOnError="True" InitialValue=""></asp:RequiredFieldValidator> 
                                        <asp:RegularExpressionValidator ID="revDeveloperWorkingHours" runat="server" ControlToValidate="txtDeveloperWorkingHours" 
                                            SetFocusOnError="true" ValidationExpression="^[+]?\d*\.?\d*$" Text="Please enter vaild value."></asp:RegularExpressionValidator> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td style="width: 20%" align="right">  
                                        QAWorkingHours:&nbsp;  
                                    </td> 
                                    <td> 
                                        <asp:TextBox ID="txtQAWorkingHours" BorderWidth="1" Width="30%" Text='<%# Bind( "QAWorkingHours") %>' 
                                            runat="server"></asp:TextBox> 
                                        <asp:RequiredFieldValidator ID="rfvQAWorkingHours" runat="server" ErrorMessage="*" 
                                            ControlToValidate="txtQAWorkingHours" SetFocusOnError="True" InitialValue=""></asp:RequiredFieldValidator> 
                                        <asp:RegularExpressionValidator ID="revQAWorkingHours" runat="server" ControlToValidate="txtQAWorkingHours" 
                                            SetFocusOnError="true" ValidationExpression="^[+]?\d*\.?\d*$" Text="Please enter vaild value."></asp:RegularExpressionValidator> 
                                    </td> 
                                </tr> 
                            </table> 
                            <asp:Button ID="btnUpdate" Text="Save" BorderWidth="1" CommandName="Update" runat="server" /> 
                            <asp:Button ID="btnCancel" CausesValidation="false" BorderWidth="1" CommandName="Cancel" 
                                Text="Close" runat="server" /> 
                        </FormTemplate> 
                    </EditFormSettings> 
                </MasterTableView> 
                <ClientSettings> 
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="true" /> 
                    <Scrolling AllowScroll="true" FrozenColumnsCount="1" SaveScrollPosition="true" /> 
                </ClientSettings> 
                <PagerStyle Mode="NextPrevNumericAndAdvanced" AlwaysVisible="True"></PagerStyle> 
            </telerik:RadGrid> 
        </div> 
        <asp:Panel ID="PanelResources" runat="server" Style="display: none">  
            <div id="divAssignResources" runat="server" style="padding-top: 40px; padding-left: 4%">  
                <table> 
                    <tr> 
                        <td> 
                            <asp:Label ID="labelReleaseName" Text="Release 10.1" runat="server" Font-Size="Small"></asp:Label> 
                        </td> 
                        <tr> 
                            <td> 
                                <asp:Label ID="labelModuleName" runat="server" Font-Size="Small" Text="Module Name"></asp:Label> 
                                <telerik:RadComboBox ID="RadComboModule" runat="server" Width="30%" AutoPostBack="true" 
                                    OnSelectedIndexChanged="RadComboModule_SelectedIndexChanged" AppendDataBoundItems="true">  
                                    <Items> 
                                        <telerik:RadComboBoxItem Text="Select" Selected="true" Value="" /> 
                                    </Items> 
                                </telerik:RadComboBox> 
                            </td> 
                        </tr> 
                    </tr> 
                    <tr> 
                        <td> 
                            Available Resources: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  
                            Allocated Resources:  
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            <telerik:RadListBox ID="RadListBoxResources" runat="server" Height="200px" Width="200px" 
                                SelectionMode="Multiple" AllowTransfer="true" TransferToID="RadListBoxDestination">  
                            </telerik:RadListBox> 
                            <telerik:RadListBox runat="server" ID="RadListBoxDestination" Height="200px" Width="200px" /> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            <asp:Button ID="btnSave" runat="server" Text="Save" BorderWidth="1" OnClick="btnSave_OnClick" />&nbsp;&nbsp;  
                            <asp:Button ID="btnCancelAll" runat="server" Text="Cancel" BorderWidth="1" OnClick="btnCancelAll_OnClick" /> 
                        </td> 
                    </tr> 
                </table> 
            </div> 
        </asp:Panel> 
    </telerik:RadAjaxPanel> 
</asp:Content> 
 
Shinu
Top achievements
Rank 2
 answered on 21 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?