Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
221 views
I've a RadGrid with a command button; it doesn't do grid editing, but some server processing and server redirect to an other page.

 

<telerik:RadGrid ID="RadGrid1" runat="server" ShowStatusBar="True" AutoGenerateColumns="False"

 

DataSourceID="ObjectDataSource1" AllowSorting="True" Skin="BavelLook" OnItemDataBound="RadGrid1_ItemDataBound"

 

 

 

OnItemCommand="RadGrid1_ItemCommand" GridLines="None" EnableEmbeddedSkins="False">

 

 

 

<MasterTableView HierarchyLoadMode="Client" DataSourceID="ObjectDataSource1">

 

 

 

<Columns>
<telerik:GridButtonColumn UniqueName="EditColumn" ButtonType="ImageButton" Text="Editar" ImageUrl="~/images/lupa.gif" HeaderText="Editar" CommandName="Editar">  

 

 

    <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />

 

 

</telerik:GridButtonColumn>
</Columns>
</telerik:RadGrid>


The command argument is set on server side:

 

 

 

protected void RadGrid1_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)

{

if (e.Item is Telerik.Web.UI.GridDataItem)

{

Telerik.Web.UI.

GridDataItem dataItem = e.Item as Telerik.Web.UI.GridDataItem;
transactionItem item = ((transactionItem)dataItem.DataItem);

 

 

 

 

ImageButton btnEditar = dataItem["EditColumn"].Controls[0] as ImageButton;

 

string argument = item.Id.ToString();

 

btnEditar.CommandArgument = argument;

 

}

}


Page is a content page, so it uses a RadManagerProxi:

 

 

 

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">

 

 

<AjaxSettings>

 

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

 

 

<UpdatedControls>

 

 

 

 

<telerik:AjaxUpdatedControl ControlID="RadGrid1" />

 

 

 

 

</UpdatedControls>

 

 

 

 

</telerik:AjaxSetting>

 

 

 

 

</AjaxSettings>

 

 

 

 

 

</telerik:RadAjaxManagerProxy>


Master page has "OnRequestStart" handle defined:

 

 

 

<

 

telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">

 

 

<script type="text/javascript">

 

function OnRequestStart(sender, args)

{

debugger; }

 

 

 

function OnResponseEnd(sender, args)

 {

debugger}

 

 

 

</script>

 

 

 </

 

telerik:RadScriptBlock>

 

 

 

 

 

<

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableAJAX="true" DefaultLoadingPanelID="RadAjaxLoadingPanel1">

 

 

 

 

<ClientEvents OnRequestStart="OnRequestStart" OnResponseEnd="OnResponseEnd" />

 

 

 

 

</telerik:RadAjaxManager>


When a row command button is pushed the "OnRequestStart" client event from Master Page is not triggered....
Then I've tried something and set a handle for the "OnCommand" client event of the Grid:

 

 

 

 

 

 

 

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

 

 

<

 

script type="text/javascript">

 

 

 

 

 

function RaiseCommand(sender, args)

 

 

{

 

//retrieve the current commandName and commandArgument

 

 

 

 

alert(String.format("CommandName: {0}, CommandArgument: {1}", args.get_commandName(), args.get_commandArgument()));

 

 

}

 

</script>

 

 

 

</telerik:RadCodeBlock>

 

 

 


...
 

 

 

<ClientSettings>

 

 

<ClientEvents OnCommand="RaiseCommand" />

 

 

 

 

</ClientSettings>

 

 

 

 

 

and I've got surprised... Now the "OnRequestStart" client event is rised after the "OnCommand" handle, but the command argument is empty both on the client handle and on the server side code !!!

I'm using the 2008.Q3 version, migrating to 2009.Q1.SP1 has been postposed because of some problems about skins. I don't know if this problem is version specific.



 

 

 

 

 

 

Yavor
Telerik team
 answered on 15 May 2009
1 answer
179 views
Can someone please point me in the right direction for fixing the CSS for my Tooltip.  With the upgrade to Q1 2009, my styles are no longer being applied.  The documentation that I found seems to be exactly the same as how I'm doing it, so I'm looking for the updated documentation.  Thanks.

This is the link I found, which does not appear to be current:
http://www.telerik.com/help/aspnet-ajax/tooltip_appearancecss.html

Thanks!
Martin
Telerik team
 answered on 15 May 2009
1 answer
119 views
Hi all

Just upgraded a project to the latest build of the editor to cure a nasty IE8 problem that was stopping a dialog window from working.

However, now the project won't build as GenericFileUploader is no longer a member of Telerik.Web.UI.Widgets.
Just checked this using .NET Reflector and it's true!

So is there a way to get a working IE editor without rewriting the code that uses GenericFileUploader? the current version is 2008.3.1125.20

Matt
Rumen
Telerik team
 answered on 15 May 2009
0 answers
61 views
Hi there,
A couple of questions if I may:

  1. Which is faster to accomplish: Populate a RadCombo/RadTree from a DataTable that fetches data from DB or Populate form an XML file with same data?
  2. If I wish to shift population of the above controls to client-side, is there a way to pass source DataTable to client (or its reference) after being filled in code-behind? Same question applies to XML file.

Thank you in advance.

Regards,
Saed
Saed
Top achievements
Rank 1
 asked on 15 May 2009
1 answer
119 views
Hi.

I'm having a problem with making a grid paging work. I have a page with tree on the left + grid on the right. I use the tree selection to setup the data source for grid, and bind it programmatically. Then, when user wants to see the next page of the grid, I expect the grid to fire OnNeedDataSource event to ask for new data.

The problem is the event is not fired. It IS fired when I change the page size, but IS NOT fired when I click "next page" button - and the grid becomes empty. Seems weird to me, and I'm stuck... Can you think of any things to be checked? What's the difference between page size and page index changes?

Many thanks in advance!
Princy
Top achievements
Rank 2
 answered on 15 May 2009
1 answer
102 views
I'm trying to get a RadPanelBar to display bullets next to each item that is in rpLevel2, but for the life of me I cannot get it to work. This is a databound panelbar that is part of the SitePanelBar in Sitefinity. list-style-type:disc is absolutely worthless. Any help would be greatly appreciated!
Paul
Telerik team
 answered on 15 May 2009
1 answer
65 views
hi everyboy
i using RadSplitBar and add tag html into it same bellow

<radSpl:RadSplitBar ID="RadSplitBar1" runat="server"  CollapseMode="Both" ></radSpl:RadSplitBar>
                        <radSpl:RadPane ID="RightPanel" runat="server" Width="40%">
<input type ="button" name ="bntUpdatePercentWork" id="bntUpdatePercentWork" value ="Update Resource" style="display:none" class ="button" onclick = "UpdatePercentWork()"/>

now i want to get control bntUpdatePercentWork in codebehind. but i can't get it

please help me
thanks


Georgi Tunev
Telerik team
 answered on 15 May 2009
1 answer
105 views
in my apllication i am using RadGrid control
 
after adding this code

 

<ClientSettings >

 

 

<Scrolling AllowScroll="True" ScrollHeight="250px"  UseStaticHeaders="True" />

 

 

<Selecting AllowRowSelect="True" />
</ClientSettings>

 


with in the RadGrid template textbox  javascript select();  is not working in mozilla firefox browser ,but  it is working in IE browser

but it is working in outside RadGrid control whether it is browser issue or not?

 <radG:RadGrid ID="ManagerRadGrid" runat="server" AllowPaging="true" PageSize="50"
                                         GridLines="None" AutoGenerateColumns="False" MasterTableView-EditMode="EditForms"
                                         Skin="WebGrid20" AllowCustomPaging="false" EnableViewState="true" HeaderStyle-Wrap="true"
                                         OnItemCreated="ManagerRadGrid_ItemCreated" EnableAJAX="true" OnUpdateCommand="ManagerRadGrid_UpdateCommand"
                                         OnNeedDataSource="ManagerRadGrid_NeedDataSource" OnItemDataBound="ManagerRadGrid_ItemDataBound"
                                         OnPreRender="ManagerRadGrid_PreRender"  OnPageIndexChanged="ManagerRadGrid_PageIndexChanged" >
                                         <%--<SelectedItemStyle BackColor="#999999"  AlternatingItemStyle-BackColor="AliceBlue"  />--%>
                                         <MasterTableView ShowFooter="True" DataKeyNames="KeyNum">
                                        
                                             <Columns>
                                            
                                                 <radG:GridTemplateColumn HeaderText="xmlnum" Visible="False" UniqueName="TemplateColumn1">
                                                     <ItemTemplate>
                                                         <asp:TextBox ID="lblpxmlnum" runat="server" Text='<%# Eval("KeyNum")%>'></asp:TextBox>
                                                     </ItemTemplate>
                                                 </radG:GridTemplateColumn>                                              
                                       
            <radG:GridTemplateColumn DataType="System.Decimal"  Visible ="false"   UniqueName="SP_MostRecentTemplateColumns">
                                                     <HeaderTemplate>
                                                         <table id="tblperfratings1" runat="server" cellpadding="0" cellspacing="0">
                                                             <tr>                                                            
                                                               
                                                                <%-- <td id="Td3" align="Center" style="background-color: #92B4E1; color: White; width :70px;" runat="server"
                                                                     visible="True">
                                                                     <asp:Label ID="lblguideline" style="text-align:center" runat="server" Text="Max Salary Guideline" Width="70px"
                                                                         SkinID="ModelGridHeadLabel"></asp:Label></td>--%>
                                                             </tr>
                                                             <tr>                                                              
                                                              
                                                            
                                                             </tr>
                                                         </table>
                                                     </HeaderTemplate>
                                                     <ItemTemplate>
                                                         <table id="tbltratings1" runat="server" cellpadding="0" cellspacing="0">
                                                             <tr>
                                                                
                                                                <%-- <td id="tdguideline" runat="server" align="left" style="width: 70px; border-width: 0px;
                                                                     text-align: center;">
                                                                     <asp:Label ID="txtguideline"  runat="server" Text='<%# Eval("MeritGuideline") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Width="50px"></asp:Label></td>--%>
                                                             </tr>
                                                         </table>
                                                     </ItemTemplate>
                                                  
                                                     <HeaderStyle BackColor="#92B4E1" HorizontalAlign="Center" ForeColor="White"  Width ="70px"/>
                                                                <ItemStyle Width ="70px"  />
                                                 </radG:GridTemplateColumn>
            
                                         
                                                <radG:GridTemplateColumn DataType="System.Decimal" UniqueName="RecommendationTemplateColumn">
                                                     <HeaderTemplate>
                                                         <table id="tblManagerDiscretion" runat="server" cellpadding="0" cellspacing="0">
                                                             <tr>
                                                             <td id="tdManager" runat="server" colspan="2" align="center" style ="width:130px;">
                                                                     <asp:Label ID="lblpctincrease" runat="server" Text="Merit Increase" Style="text-align: center;"
                                                                         SkinID="ModelGridHeadLabel"></asp:Label></td>
                                                                 <td id="Td8" align="Center" runat="server" visible="true" style =" width :80px;">
                                                                     <asp:Label ID="lblbonusguideline" runat="server" Visible="true" Text="Bonus Guideline"
                                                                         Style="text-align: center;" SkinID="ModelGridHeadLabel"></asp:Label></td>
                                                                 <td id="tdbonus" runat="server" colspan="2" align="center" style ="width:140px;" >
                                                                     <asp:Label ID="lblpctbonus" runat="server" Text="Bonus Discretion" Style="text-align: center;"
                                                                         SkinID="ModelGridHeadLabel"></asp:Label></td>
                                                             </tr>
                                                             <tr>
                                                                 <td id="Td7" align="center" style="width: 50px;" runat="server" visible="true">
                                                                     <font color="white"><b>%</b></font></td>
                                                                 <td id="Td4" align="center" style="width: 80px;" runat="server" visible="true">
                                                                     <asp:Label runat="server" ID="lblUSD2" Text="$" ForeColor="white"></asp:Label></td>
                                                                 <td id="tdbonguid" runat="server" align="center" style="width: 50px;">
                                                                     <font color="white"><b>%</b></font>
                                                                 </td>
                                                                 <td id="Td9" align="center" runat="server" visible="true" style="width: 50px;">
                                                                     <font color="white"><b>%</b></font></td>
                                                                 <td id="Td10" align="center" runat="server" visible="true" style="width: 80px;">
                                                                     <asp:Label runat="server" ID="lblUSDBonus" Text="$" ForeColor="white"></asp:Label></td>
                                                                 <%-- <td id="Td5" align="center"  runat="server"  visible="True"><asp:Label runat="server" ID="lblUSD1" Text="USD" ForeColor="white"></asp:Label></td>--%>
                                                             </tr>
                                                         </table>
                                                     </HeaderTemplate>
                                                     <ItemTemplate>
                                                         <table id="tblitem" runat="server" cellpadding="0" cellspacing="0">
                                                             <tr>
                                                                                                                 
                                                               <td align="center" style="width: 50px; border-width: 0px;">
                                                                     <asp:TextBox TabIndex="1" AutoPostBack="false" ID="txtpctincrease" runat="server"
                                                                         Text='<%# Eval("Incr_PCT") %>' Width="40px" Height="13px" Font-Size="11px" Font-Names="Ariel"  ToolTip='<%# Eval("EmployeeName") %>'
                                                                          Visible="True" Font-Bold="true" Style="border-style: groove;" ></asp:TextBox>
                                                                     <asp:Label ID="lblpctincrease" runat="server" Width="50px" Text='<%# Eval("Incr_PCT")%>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Visible="True"
                                                                         Font-Bold="true"></asp:Label>
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="1" ID="txtpctincreaselocal" runat="server"
                                                                         Text='<%# Eval("Incr_PCT") %>' Width="40px" Height="13px" Font-Size="11px" Font-Names="Ariel"  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Wrap="True" Visible="false" Font-Bold="true" Style="border-style: groove;"></asp:TextBox>
                                                                </td>
                                                                 <td align="center" style="width: 80px; border-width: 0px;">
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="2" ID="txtincrease" runat="server" Text='<%# Eval("Incr_Amt_USD") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Width="60px" Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Visible="True"
                                                                         Font-Bold="true" Style="border-style: groove;" ></asp:TextBox>
                                                                     <asp:Label ID="lblincrease" runat="server" Width="60px" Text='<%# Eval("Incr_Amt_USD","{0: #,##}")%>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Visible="True"
                                                                         Font-Bold="true"></asp:Label>
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="2" ID="txtincreaselocal" Visible="false"
                                                                         runat="server" Text='<%# Eval("Incr_Amt_LOCAL","{0: #,##}") %>' Width="60px"  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Font-Bold="true"
                                                                         Style="border-style: groove;"></asp:TextBox>
                                                                     <asp:Label ID="lblincreaselocal" runat="server" Width="60px" Text='<%# Eval("Incr_Amt_LOCAL","{0: #,##}")%>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Visible="false"
                                                                         Font-Bold="true"></asp:Label>
                                                              </td>
                                                          
                                                                 <td id="tdbonusguideline" runat="server" align="left" style="width: 80px; border-width: 0px;
                                                                     text-align: center;">
                                                                     <asp:Label ID="txtbonusguideline" runat="server" Text='<%# Eval("BonusGuideline") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Width="80px" ></asp:Label>
                                                                 </td>
                                                                 <td id="tdpctbonus" runat="server" align="center" style="width: 50px; border-width: 0px;">
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="1" ID="txtpctBonus" runat="server" Text='<%# Eval("Bonus_PCT")%>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Width="40px" Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Font-Bold="true"
                                                                         Style="border-style: groove;"></asp:TextBox>
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="1" ID="txtpctBonuslocal" Visible="false"
                                                                         runat="server" Text='<%# Eval("Bonus_PCT") %>' Width="40px" Height="13px" Font-Size="11px"  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Font-Names="Ariel" Wrap="True" Font-Bold="true" Style="border-style: groove;"></asp:TextBox>
                                                                 </td>
                                                                 <td id="tdbonus" runat="server" align="center" style="width: 90px; border-width: 0px;">
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="2" ID="txtbonus" runat="server" Text='<%# Eval("Bonus_Amt_USD","{0: #,##}")%>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Width="40px" Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Font-Bold="true"
                                                                         Style="border-style: groove;"></asp:TextBox>
                                                                     <asp:TextBox AutoPostBack="false" TabIndex="2" ID="txtbonuslocal" runat="server"
                                                                         Visible="false" Text='<%# Eval("Bonus_Amt_LOCAL","{0: #,##}")%>' Width="40px"  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Height="13px" Font-Size="11px" Font-Names="Ariel" Wrap="True" Font-Bold="true"
                                                                         Style="border-style: groove;"></asp:TextBox>
                                                                 </td>
                                                             </tr>
                                                         </table>
                                                     </ItemTemplate>
                                                     <FooterTemplate>
                                                         <table id="tblfootincrease" runat="server" cellpadding="0" cellspacing="0">
                                                             <tr>
                                                                 <td align="left" style="width: 80px; border-width: 0px;">
                                                                     <asp:Label runat="server" Visible="false" ID="foopctincrease" Style="text-align: right;" Text="0"></asp:Label>
                                                                    
                                                                 </td>
                                                                 <td align="left" style="width: 80px; border-width: 0px;">
                                                                     <asp:Label runat="server" Visible="false"  ID="fooincrease" Text="0" Style="text-align: center;"></asp:Label>
                                                                    
                                                                 </td>
                                                                 <td id="tdftrguideline" runat="server" align="left" style="width: 50px; border-width: 0px;">
                                                                     <asp:Label ID="foobonusguideline" Visible="false"  runat="server" Text="0" Style="text-align: center;"></asp:Label></td>
                                                                 <td id="tdftrpctbonus" runat="server" align="left" style="border-width: 0px; width: 50px;">
                                                                     <asp:Label runat="server" ID="foopctbonus" Visible="false"  Text="0" Style="text-align: center;"></asp:Label>
                                                                 </td>
                                                                 <td id="tdftrbonus" runat="server" align="left" style="border-width: 0px; width: 80px;">
                                                                     <asp:Label runat="server" ID="foobonus" Visible="false"  Text="0" Style="text-align: center;"></asp:Label>
                                                                 </td>
                                                             </tr>
                                                         </table>
                                                     </FooterTemplate>
                                                     <HeaderStyle BackColor="#829FC9"  />
                                                     <FooterStyle BackColor="#E8E8E8" />
                                                  
                                                 </radG:GridTemplateColumn>
                                              
                                             
                                                 <radG:GridTemplateColumn UniqueName="MemoTemplateColumn" Groupable="False" Visible="false">
                                                     <ItemTemplate>
                                                         <table visible="false">
                                                             <tr>
                                                                 <td align="center">
                                                                     <asp:Label ID="lblxchange" runat="server" Visible="false" Text='<%# Eval("salaryrate") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Style="text-align: center;"></asp:Label>
                                                                          <asp:Label ID="lblbonusrate" runat="server" Visible="false" Text='<%# Eval("bonusrate") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Style="text-align: center;"></asp:Label>
                                                            
                                                                 </td>
                                                                 <td align="center">
                                                                     <asp:Label ID="lblcurrencycode" runat="server" Visible="false" Text='<%# Eval("location") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Style="text-align: center;"></asp:Label>
                                                                     <asp:Label ID="lblcountry" runat="server" Visible="false" Text='<%# Eval("Location") %>'  ToolTip='<%# Eval("EmployeeName") %>'
                                                                         Style="text-align: center;"></asp:Label>
                                                                 </td>
                                                             </tr>
                                                         </table>
                                                     </ItemTemplate>
                                                 </radG:GridTemplateColumn>
                                                                                            
                                                
                                                    <radG:GridTemplateColumn UniqueName="HistoryTemplateColumn" Groupable="False">
                                                     <HeaderTemplate>
                                                      <table>
                                                       <tr>
                                                       <td style ="width :100px;border-width: 0px;">
                                                         <asp:Label ID="lblhistory" Text="History " SkinID="ModelGridHeadLabel" runat="server"></asp:Label>
                                                         </td>
                                                         </tr>
                                                         </table>
                                                     </HeaderTemplate>
                                                     <ItemTemplate>
                                                     <table>
                                                       <tr>
                                                       <td style ="width :100px;border-width: 0px;">
                                                      <asp:Label ID="Historylabel" Visible="false" runat="server" Text='<%# Eval("comment") %>' 
                                                             Style="border-width: 0px; border: 0px;"></asp:Label>
                                                        
                                                         <asp:Label ID="label4" runat="server" Text="" Visible="true" Style="border: 0px;"></asp:Label>
                                                         <asp:HyperLink ID="HistoryLink"  Height="22" runat="server" ToolTip='<%# Eval("EmployeeName") %>'  Text="History"></asp:HyperLink>
                                                 </td>
                                                  </tr>
                                                  </table>
                                                     </ItemTemplate>   
                                                     <EditItemTemplate>
                                                     <table>
                                                       <tr>
                                                       <td style ="width :100px;border-width: 0px;">
                                                          <radE:RadEditor ID="REditornotes" TabIndex="0" ToolsFile="~/RadControls/Editor/AjaxSpell.xml"
                                                                 ShowSubmitCancelButtons="False" runat="server" Height="100px" Html='<%# Eval("locationcode") %>'>
                                                             </radE:RadEditor>
                                                             </td>
                                                             </tr>
                                                             </table>
                                                         </EditItemTemplate>
                                                         <HeaderStyle BackColor="#829FC9" Width="100px" />
                                                       
                                                         <ItemStyle BorderWidth="0px" Width ="100px" />
                                                   
                                                     </radG:GridTemplateColumn>
                                             </Columns>
                                             <ExpandCollapseColumn Visible="False">
                                                 <HeaderStyle Width="19px" />
                                             </ExpandCollapseColumn>
                                             <RowIndicatorColumn Visible="False">
                                                 <HeaderStyle Width="20px" />
                                             </RowIndicatorColumn>
                                             <EditFormSettings>
                                                 <EditColumn UniqueName="EditCommandColumn1">
                                                 </EditColumn>
                                             </EditFormSettings>
                                         </MasterTableView>
                                       
                                      <ClientSettings >
                                              <Scrolling AllowScroll="True" ScrollHeight="250px" SaveScrollPosition ="true" UseStaticHeaders="True" />
                                              <Selecting AllowRowSelect="True"  />
                                            <%--  <ClientEvents OnGridCreated="fn_GridCreated"/>--%>

                                         </ClientSettings>
                              
           
<PagerStyle Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
                                             Font-Underline="False" HorizontalAlign="Left" Mode="NextPrevAndNumeric" Wrap="True"
                                             AlwaysVisible="True" />
                                         <HeaderStyle Wrap="True" />
                                     </radG:RadGrid>
                             


Sebastian
Telerik team
 answered on 15 May 2009
1 answer
151 views
Hello,

I have 

 

<telerik:RadDatePicker ID="RadDatePicker1" runat="server" Culture="English (United States)"

 

 

 

Skin="Sunset">

 

 

 

<Calendar Skin="Sunset" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False"

 

 

 

ViewSelectorText="x">

 

 

 

</Calendar>

 

 

 

<DateInput DateFormat="MM d yyyy" >

 

 

 

</DateInput>

When I look at the result of that selection from the server side, it is always in the following format
 2009-05-20-12-00......

I need just 05/20/2009 , is any way to do so within telerik:RadDatePicker control
or I need to format that in other place?

Thank you
Armen

 

Shinu
Top achievements
Rank 2
 answered on 15 May 2009
3 answers
186 views
Hi folks

I have got a very strange problem.... I developed my page using RadGrid which data binds on the client side using a WCF service. All worked fine on my local dev box so I checked in my code. However, the next day the testers report that it's not working.

When I look into the problem, it turns out that when the site is running in Internet Explorer (v6-8) under IIS, the RadGrid data binding doesn't work. The call to the WCF service never makes it to the server. What is even more annoying is that it is intermittent - I spent a couple of hours looking into it, then it started working. It then worked for around 24 hours then stopped working again. This has been going on for a week now! I have now managed to look into the problem for the last 3 hours today (without success) and it is still not working. The site is deployed on 3 different servers - it works on 1 at the moment, but not on the other 2.

It's driving me insane because it seems to debug into Telerik client side code, then I geta bit lost at this point.

Anyone got any advice?

Just to clarify.... it works 100% of the time when running in the Visual Studio web server, and also works 100% of the time in Firefox. The problem is specifc to Internet Explorer and IIS.
Also... some things worth noting... It's making it into the OnDataBinding event on the client side, so it seems to be going through the motions, but never makes it to the server. Also, the site is running in https - don't know if this affects things?

Thanks
William
Top achievements
Rank 1
 answered on 15 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?