or
| private Void FormatQuery(string sTableName) |
| { |
| string FormatedQuery = ""; |
| FormatedQuery = "from " + sTableName.ToUpper().ToString() + "Entity A"; |
| //FormatedQuery = "Select a.FIRST_NAME,a.COMMENTS from " + sTableName.ToUpper().ToString() + "Entity a"; |
| IList data; |
| CommonDataAccess CommonData = new CommonDataAccess(); |
| data = GetData(FormatedQuery); |
| Simple_Grid.DataSource = data; |
| } |
| public IList GetData(string sSQL) |
| { |
| ISession sDataSession = NHibernateHelper.GetCurrentSession(); |
| IList oDataObj = sDataSession.CreateQuery(sSQL).List(); |
| return oDataObj; |
| } |

| <telerik:GridTemplateColumn UniqueName="UnitOfMeasureNative" Display="true" ItemStyle-HorizontalAlign="Center" |
| HeaderText="UOM (Native)"> |
| <ItemTemplate> |
| <asp:Label runat="server" ID="lblUnitOfMeasureNative" Text='<%# Eval("UOM") %>'> |
| </asp:Label> |
| </ItemTemplate> |
| <EditItemTemplate> |
| <asp:DropDownList runat="server" ID="ddlUOMNative" |
| DataTextField="Abbreviation" |
| DataValueField="ID" |
| DataSource='<%# Pace.Ecolink.Data.Factory.UOMFactory.GetUOMList() %>'> |
| </asp:DropDownList> |
| </EditItemTemplate> |
| </telerik:GridTemplateColumn> |
var
delBtn - get the button reference...
//find the decorated container and set the skin.
delBtn.parentNode.className =
'RadForm_WebBlue.rfdButton';
...
Any advice?
Thanks.
| <form id="form1" runat="server"> |
| <div> |
| <telerik:RadScriptManager ID="RadScriptManager1" runat="server"> |
| </telerik:RadScriptManager> |
| <div style="float: left"> |
| <h1> |
| LEFT</h1> |
| </div> |
| <div> |
| <h1> |
| MAIN</h1> |
| <telerik:RadTabStrip runat="server" ID="rtsNews" Skin="Simple" Orientation="HorizontalTop" |
| SelectedIndex="0" MultiPageID="rmpNews"> |
| <Tabs> |
| <telerik:RadTab Text="Corporate"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Products"> |
| </telerik:RadTab> |
| <telerik:RadTab Text="Services"> |
| </telerik:RadTab> |
| </Tabs> |
| </telerik:RadTabStrip> |
| <telerik:RadMultiPage runat="server" ID="rmpNews" SelectedIndex="0" Height="218px" |
| Width="396px"> |
| <telerik:RadPageView runat="server" ID="RadPageView1"> |
| <ul> |
| <li>Corporate Info</li> |
| <li>Press Center</li> |
| <li>Customers</li> |
| <li>Awards</li> |
| </ul> |
| </telerik:RadPageView> |
| <telerik:RadPageView runat="server" ID="RadPageView2"> |
| <ul> |
| <li>RadControls for ASP.NET</li> |
| <li>RadControls for WinForms</li> |
| <li>Telerik Reporting</li> |
| <li>Sitefinity CMS</li> |
| </ul> |
| </telerik:RadPageView> |
| <telerik:RadPageView runat="server" ID="RadPageView3"> |
| <ul> |
| <li>Enterprise Services</li> |
| <li>Enterprise Account Manager</li> |
| <li>On-site Training</li> |
| <li>GoToMeeting Sessions</li> |
| </ul> |
| </telerik:RadPageView> |
| </telerik:RadMultiPage> |
| </div> |
| </div> |
| </form> |
| Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated |
| Dim dataItem As GridDataItem = Nothing |
| Dim data As Data.DataRowView = Nothing |
| Try |
| If TypeOf e.Item Is GridDataItem Then |
| dataItem = CType(e.Item, GridDataItem) |
| data = CType(dataItem.DataItem, Data.DataRowView) |
| If CType(data.Row.Item("InvoiceStatusID"), String) = "O" Then |
| CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Invoice" |
| Else |
| CType(data.Row.Item("InvoiceStatusID"), TextBox).Text = "Closed" |
| End If |
| End If |
| Catch ex As Exception |
| Finally |
| dataItem = Nothing |
| data = Nothing |
| End Try |
| End Sub |
I am using RadProgress Area with FileUpload Control. When I try to upload large files it takes very long time to display the progress area and in the browser (FireFox) I can see the "transferring data from <websitename>...." message during that period.
Can anyone help me to fix this issue to get the progress area sooner?