Button
btnNext = (Button)pnlbarRegn.FindItemByValue("Welcome").FindControl("BtnNext");
btnNext.TabIndex = 0;
btnNext.Focus();
need help.
Thanks,
Bharathwajan
<
asp:updatepanel runat="server">
<contenttemplate>
<asp:button text="Click Me" runat="server" id="btn1" />
<telerik:radcolorpicker runat="server" id="Radcolorpicker1" showicon="true" visible="false" >
</telerik:radcolorpicker>
</contenttemplate>
</asp:updatepanel>
| <telerik:RadGrid ID="_pastItemsGrid" runat="server" AllowMultiRowSelection="true" |
| ShowFooter="true" AutoGenerateColumns="false" OnItemDataBound="_pastItemsGrid_ItemDataBound"> |
| <HeaderStyle Font-Bold="true" HorizontalAlign="Left" /> |
| <PagerStyle Mode="NextPrevAndNumeric" /> |
| <ClientSettings> |
| <Selecting AllowRowSelect="true" /> |
| </ClientSettings> |
| <MasterTableView DataKeyNames="TranID"> |
| <Columns> |
| <telerik:GridBoundColumn HeaderText="Date" DataField="Date" /> |
| <telerik:GridBoundColumn HeaderText="Description" DataField="Description" /> |
| <telerik:GridBoundColumn HeaderText="Miles" DataField="Miles" DataType="System.Double" /> |
| <telerik:GridBoundColumn HeaderText="Amount" DataField="Amount" DataType="System.Decimal" |
| DataFormatString="{0:C2}" /> |
| <telerik:GridClientSelectColumn HeaderText="Select" UniqueName="checkSelect" /> |
| </Columns> |
| <NoRecordsTemplate> |
| <div> |
| There were no records found.</div> |
| </NoRecordsTemplate> |
| </MasterTableView> |
| </telerik:RadGrid> |
| <Transcations> |
| <Transaction TranID="01"> |
| <Date>01/22/09</Date> |
| <Description>Target</Description> |
| <Miles>50400</Miles> |
| <Amount>504.46</Amount> |
| </Transaction> |
| <Transaction TranID="02"> |
| <Date>01/23/09</Date> |
| <Description>Ann Taylor Loft</Description> |
| <Miles>30500</Miles> |
| <Amount>305.50</Amount> |
| </Transaction> |
| <Transaction TranID="03"> |
| <Date>01/24/09</Date> |
| <Description>Dick's Sporting Goods</Description> |
| <Miles>5000</Miles> |
| <Amount>50.32</Amount> |
| </Transaction> |
| </Transcations> |
| Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load |
| Dim ds As New DataSet |
| ds.ReadXml(Server.MapPath("../Transactions.xml")) |
| _pastItemsGrid.DataSource = ds |
| _pastItemsGrid.DataBind() |
| End Sub |
| Protected Sub _pastItemsGrid_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles _pastItemsGrid.ItemDataBound |
| If TypeOf e.Item Is GridDataItem Then |
| Dim accrued As New Double |
| Dim amount As New Decimal |
| accrued = CDbl(e.Item.DataItem(2)) |
| e.Item.DataItem(2) = accrued |
| amount = CDec(e.Item.DataItem(3)) |
| e.Item.DataItem(3) = amount |
| End If |
| End Sub |
Vs2008
Q2 2009
Hiya,
You have a lovely radLoadingPanel effect on the following page:
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/webmailgrid/defaultcs.aspx
.When the user sorts the grid, the effect comes into play.
I’m trying to replicate it. However, even after wading though the masses of code etc, I still can’t isolate where the effect is coming from.
On the page itself, the grid is associated with a radLoadingPanel.
I’d have thought that it was a simple matter of the grid/ loadingpanel grabbing the image from the skin, but obviously not.
It seems that there’s a header.ascx and a headtag.ascx, which in turn reference other js and App_Code…
That’s a LOT of additional stuff.
My question, can you tell me the bare minimum that I need to achieve this effect?
1) radGrid
2) radLoadingPanel
3) skin
4) ?????? etc
Or, even better yet, could you post a tiny project?
Many thanks,
yogi
