Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
45 views
I'm wondering what the simplest way is to implement ajax (so my screen never flashes when i do a postback from a control, etc.).  I've tried the proxy controls, on the content page with Ajax manager on Master page, but still refreshes the entire screen.  It's probably something simple I'm missing, but, is there a good example to follow?

Thanks.
Pavlina
Telerik team
 answered on 13 Jan 2011
0 answers
74 views
Hello All,

Tab setting is not working on my page, I have used RadAsyncUpload control and I have also set tab order on each control.
Below is my html structure:

<tr>
<td>
     <telerik:RadAsyncUpload runat="server" ID="rupUploadBanner" TabIndex="9" ReadOnlyFileInputs="true"
           Style="display: inline;" Width="98%" MaxFileInputsCount="1" OverwriteExistingFiles="true" AllowedFileExtensions="jpg,jpeg,png,gif">
     </telerik:RadAsyncUpload>
</td>
</tr>

<tr>
<td>
 <telerik:RadAsyncUpload runat="server" ID="rauUploadCompanyLogo" TabIndex="8" ReadOnlyFileInputs="true"
      Style="display: inline;" Width="98%" MaxFileInputsCount="1" OverwriteExistingFiles="true"  AllowedFileExtensions="jpg,jpeg,png,gif">
 </telerik:RadAsyncUpload>
</td>
</tr>

Please have a look on the attachment and suggest me some solution.


Thanks
Mukesh



Thanks
Mukesh
Mukesh
Top achievements
Rank 1
 asked on 13 Jan 2011
2 answers
317 views
I have a RadGrid that is bound at runtime to a Stored Procedure that returns a dynamic set of columns, the SP is a pivot of money and dates.  So the SP always returns Column 1 and Column 2 that are always the same name but then the other columns are dynamic depending on what dates and costs have been entered by the users i.e. the SP could return Column 1 and Column 2 plus 1 additional Column (which will be named the month and Year selected e.g. Jul 2011 or it could return 10 additional columns Spanning Jul 2011 to April 2012 and so on.  These addtitional columns return a decimal value, my question is how can i format these additional columns (that will change each time data is added) as DataFormatString="{0:£###,##}" if i dont have a grid bound column.

My Grid is simply
<telerik:RadGrid ID="GridMonies" runat="server">
</telerik:RadGrid>

Which is bound at runtime using
GridMonies.DataSource = WSA.PaymentDrawdownView(WSARecord)
GridMonies.DataBind()

Thanks in advance

Tony
Anthony
Top achievements
Rank 1
 answered on 13 Jan 2011
4 answers
92 views
Hi

We've upgraded to the ASP.NET AJAX Q3 2010 release and in the demo scripts which ship with the this version the problem where an uploaded image was not immediately selected in the Image Manager dialog after it has been uploaded looks to have been fixed when using the standard image provider (i.e. files from disk).

Our project however uses a custom provider for the image manager and we are still seeing the issue (other than this problem our custom provider code works fine).  You can see the issue in the video below.  Note when uploading the first image everying is fine.  When uploading the second image the image manager is refreshed and looks as if it is about to show the newly uploaded image but then the entiure Image Manager windows is refreshed and the uploaded image is not pre-selected.

http://www.screencast.com/users/sbc2/folders/Default/media/45a50be2-88a5-40ab-9576-c963b5f69eb2

Is there something that we need to update in our custom provider code to fully implement the fix ?

Thanks
Lini
Telerik team
 answered on 13 Jan 2011
4 answers
207 views
Hi..
I'm using a RadMenu on a master page. When I tab through the controls on the page.. eventually the RadMenu is selected half way down the page.. How do I turn off the TabStop for the Menu or set the TabIndex so the Menu is not selected.

thanks
Yana
Telerik team
 answered on 13 Jan 2011
6 answers
1.4K+ views

I would like to change font size of a combobox items  only on one page, other pages I would like to apply default ( vista – skin) settings, How do I do this?

Yana
Telerik team
 answered on 13 Jan 2011
3 answers
58 views
We are experiencing an issue with Firefox/RadEditor stripping tags from data that gets loaded into a RadEditor edit area.  The enabled filters are "None" but an unclosed tag at the very top (which is wanted) keeps getting stripped out in Firefox.  The behavior doesn't happen in IE or Safari.

I am curious what could cause this?  Any suggestions?

Thank you.
Rumen
Telerik team
 answered on 13 Jan 2011
3 answers
123 views
Hi
I've stuck with following problem.
I have a grid where I do use SetRenderMethodDelegate method to customize header row (build two-level header), i.e. following:
--------------------------------------------------------
|  col1 |  col2  |______col3________|_______col4_______|
|       |        |  col3.1 | col3.2 |  col4.1 | col4.2 |
--------------------------------------------------------
|       |        |         |        |         |        |


When Command row is visible it is rendered with different collspan count for IE 8 in compatibility mode and standard mode.
For the example above in IE8 standard mode and FF, Opera it renders:
<tr class="rgCommandRow"><td class="rgCommandCell" colspan="6">
for IE8 compatibility mode:
<tr class="rgCommandRow"><td class="rgCommandCell" colspan="4">

As a result when IE8 is in compatibility mode Command row does not fill all grid's width

I tried to set custom render method for command row and set manually Colspan property but it DOES NOT change for Compatibility mode (for FF/IE8standard renders as expected)
Below is code
Private Sub weldsGrid_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles weldsGrid.ItemCreated
        If e.Item.ItemType = GridItemType.CommandItem Then
            e.Item.SetRenderMethodDelegate(AddressOf RenderCommandDelegate)
        End If
        'If e.Item.ItemType = GridItemType.Header Then
        '   e.Item.SetRenderMethodDelegate(AddressOf RenderHeaderDelegate)
        'End If
    End Sub
 
    Private Sub RenderCommandDelegate(ByVal output As HtmlTextWriter, ByVal container As Control)
        Dim cell = DirectCast(container.Controls(0), System.Web.UI.WebControls.TableCell)      
        'IE7 or IE8 in compat mode fix  
        cell.ColumnSpan = 20
        cell.RenderControl(output)
    End Sub

Thank you
Radoslav
Telerik team
 answered on 13 Jan 2011
1 answer
62 views
I used the Telerik.GridExamplesCSharp.Programming.SEOPaging namesapce to display the pager of radgridview to disable and enable the pager buttons according to current page index with out using custom paging "using NextPrevAndNumeric mode " but I faced a problem when adding a checkbox column to the grid as the checkbox column doesnt check the selected checkbox because the pager work with query string mechanism so the page is reloaded and lost the selected checkbox state ..
could u please help me asap...
thanks for ur effort
Veli
Telerik team
 answered on 13 Jan 2011
1 answer
234 views
When I set the width of columns in a master table view and then open a detail table view the widths in the parent table change, is there away to avoid this?
<telerik:RadGrid ID="grdGroups" runat="server" EnableLinqExpressions="false" 
GridLines="None" AllowFilteringByColumn="True" DataSourceID="GroupsDataSource"
AllowPaging="True" AllowSorting="True"   OnDetailTableDataBind="grdGroups_DetailTableDataBind"
AutoGenerateColumns="False" oninsertcommand="grdGroups_InsertCommand" 
OnUpdateCommand="grdGroups_UpdateCommand" onitemcommand="grdGroups_ItemCommand" 
    >
    <MasterTableView autogeneratecolumns="False" Name="grdGroups" datakeynames="GroupID" CommandItemDisplay="Top" datasourceid="GroupsDataSource" CommandItemSettings-AddNewRecordImageUrl="~/_resources/images/grid/Grid_AddNew.png" CommandItemSettings-RefreshImageUrl="~/_resources/images/grid/Grid_Hide.png" CommandItemSettings-AddNewRecordText="<%$ Resources:CreateGroup %>" CommandItemSettings-RefreshText="">
        <DetailTables>
  
            <telerik:GridTableView Name="grdGroupEmployees" runat="server" OnItemCommand="grdGroupEmployees_ItemCommand"
                GridLines="None" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" DataKeyNames="UserID"
                AutoGenerateColumns="False" >
                    <RowIndicatorColumn>
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
  
                    <ExpandCollapseColumn>
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
  
                    <Columns>
                        <telerik:GridBoundColumn DataField="LastName" AutoPostBackOnFilter="true" HeaderText="<%$ Resources:LastName %>" ShowFilterIcon="false"
                            SortExpression="LastName" UniqueName="LastName">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="FirstName" HeaderText="<%$ Resources:FirstName %>" AutoPostBackOnFilter="true" ShowFilterIcon="false"
                            SortExpression="FirstName" UniqueName="FirstName">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Email" HeaderText="Email" AutoPostBackOnFilter="true" ShowFilterIcon="false"
                            SortExpression="Email" UniqueName="Email">
                        </telerik:GridBoundColumn>
                        <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/_resources/images/grid/Grid_Trash.jpg" ConfirmText="<%$ Resources:RemoveUser%>" Text="<%$ Resources:Main, Archive %>" HeaderText="<%$ Resources: Remove %>" CommandName="RemoveUser" >
                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                            <ItemStyle HorizontalAlign="Center"  Width="50px" />
                        </telerik:GridButtonColumn>
                        <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/_resources/images/grid/Grid_Forward.png" Text="<%$ Resources:Main, View %>" HeaderText="<%$ Resources:Main, View %>" CommandName="ViewUser" >
                            <HeaderStyle HorizontalAlign="Center" Width="50px" />
                            <ItemStyle HorizontalAlign="Center"  Width="50px" />
                        </telerik:GridButtonColumn>
                    </Columns>
            </telerik:GridTableView>
        </DetailTables>
          
          
        <RowIndicatorColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
        </RowIndicatorColumn>
  
        <ExpandCollapseColumn>
            <HeaderStyle Width="20px"></HeaderStyle>
        </ExpandCollapseColumn>
  
        <Columns>
            <telerik:GridBoundColumn DataField="Name" AutoPostBackOnFilter="true" UniqueName="Name" HeaderText="<%$ Resources:GroupName %>" ShowFilterIcon="false" SortExpression="Name" >
            </telerik:GridBoundColumn>
            <telerik:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="~/_resources/images/grid/Grid_Edit.png" UpdateImageUrl="~/_resources/images/Grid/Grid_Accept.png"  CancelImageUrl="~/_resources/images/Grid/Grid_Cancel.png" UniqueName="EditCommandColumn"  ItemStyle-Width="50px" HeaderText="<%$ Resources:Main, Edit %>" CancelText="<%$ Resources:Main, Cancel %>" UpdateText="<%$ Resources:Main, Update %>" >
                <HeaderStyle HorizontalAlign="Center" Width="50px" />
                <ItemStyle HorizontalAlign="Center"  Width="50px" />
                <FooterStyle HorizontalAlign="Center"  Width="50px" />
            </telerik:GridEditCommandColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" ImageUrl="~/_resources/images/grid/Grid_Cancel.png" ConfirmText="Resources:ArchiveConfirm" Text="<%$ Resources:Main, Archive %>" HeaderText="<%$ Resources:Main, Archive %>" CommandName="Archive" >
                <HeaderStyle HorizontalAlign="Center" Width="50px" />
                <ItemStyle HorizontalAlign="Center"  Width="50px" />
            </telerik:GridButtonColumn>
            <telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="ViewGroup" Visible="false" ImageUrl="~/_resources/images/grid/Grid_Forward.png" Text="<%$ Resources: Courses %>" HeaderText="<%$ Resources: Courses %>" CommandName="ViewGroup" >
                <HeaderStyle HorizontalAlign="Center" Width="50px" />
                <ItemStyle HorizontalAlign="Center"  Width="50px" />
            </telerik:GridButtonColumn>
        </Columns>
  
        <EditFormSettings ColumnNumber="1" CaptionDataField="Name" CaptionFormatString="<%$ Resources:EditGroupTitle %> {0}" InsertCaption="<%$ Resources:NewGroupTitle %>">
            <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="60%"  />
            <FormTableStyle CellSpacing="5" CellPadding="2" GridLines="None" />
            <EditColumn ButtonType="ImageButton" InsertText="<%$ Resources:Main, Insert %>" UpdateText="<%$ Resources:Main, Update %>" InsertImageUrl="~/_resources/images/grid/Grid_Accept.png" UpdateImageUrl="~/_resources/images/grid/Grid_Accept.png"
                UniqueName="EditCommandColumn1" CancelText="<%$ Resources:Main, Cancel %>"  CancelImageUrl="~/_resources/images/grid/Grid_Cancel.png">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>
  
<asp:ObjectDataSource ID="GroupsDataSource" runat="server" 
SelectMethod="GetClientsGroups" TypeName="i2d2Main" SortParameterName="sort">
<SelectParameters>
    <asp:SessionParameter Name="ClientID" SessionField="ClientID" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
Princy
Top achievements
Rank 2
 answered on 13 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?