or
RadRotator1.DataSource = App.WorkWith() .Pages() .Where(n => n.Page.Status == ContentLifecycleStatus.Live) .Get() .Take(this.NewsLimit) .ToList() .Join(App.WorkWith() .Images() .Get() .Where(i => i.Parent.Title == albumName.ToString() && i.Status == ContentLifecycleStatus.Live), item => item.Title.Value, image => image.Title.Value, (item, image) => new { NewsItem = item, NewsImage = image });Page newsItem = (Page)TypeDescriptor .GetProperties(e.Item.DataItem)["Page"] .GetValue(e.Item.DataItem);if (text != null) text.Text = newsItem.Description;this.RadRotator1.DataSource = App.WorkWith().Pages().Where(p => p.Page.Status == ContentLifecycleStatus.Live).Get().Take(this.NewsLimit).ToList().Join( App.WorkWith().Images().Get().Where(i => i.Parent.Title == albumName && i.Status == ContentLifecycleStatus.Live), item => item.Title.Value, image => image.Title.Value, (item, image) => new { NewsItem = item, NewsImage = image });it showed me the error :) in the educationInfoTab = tabStrip.FindTabByText("Academics Info");
i am using the telerik tab stip as wizard :)
similar to this example
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/wizard/defaultcs.aspx
the erro detils
System.NullReferenceException was unhandled by user code
Message=Object reference not set to an instance of an object.
Source=App_Web_e2z0fa1r
StackTrace:
at admin_support_files_addstudent_general.GoToNextTab() in
c:\Users\diamond\Desktop\work\site\admin\support_files\General_new_std.ascx.cs:line
25
at
admin_support_files_addstudent_general.nextButton_Click(Object sender,
EventArgs e) in
c:\Users\diamond\Desktop\work\site\admin\support_files\General_new_std.ascx.cs:line
18
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
InnerException:
please help :)
private void GoToNextTab() { RadTabStrip tabStrip = (RadTabStrip)Page.FindControl("RadTabStrip1"); RadTab educationInfoTab = new RadTab(); educationInfoTab = tabStrip.FindTabByText("Academics Info"); educationInfoTab.Enabled = true; educationInfoTab.Selected = true; GoToNextPageView(); }
Hi
I have a form .I want show radwindow from code behind and then user enter data in radwindow and process data which user enter .similar
If dvwItemPayDetail.Count > 0 And AllowUpdate = True
Dim script As String =
ClientScript.RegisterStartupScript(
Me.GetType(), "showWindow"
'------------>> Not Stop .I want stop debug which user enter data in radwindow then continue to debug
<asp:UpdatePanel runat="server" id="UpdatePanel1" UpdateMode="Conditional"> <ContentTemplate> <telerik:RadWindowManager ID="rwManager" Behaviors="Close,Move, Resize" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" runat="server" Skin="Outlook" EnableShadow="true"> <Windows> <telerik:RadWindow ID="rwAdvancedSearchForm" Modal="true" runat="server" Width="700" Height="600"> <ContentTemplate> <table class="dv" cellpadding="0" cellspacing="0" border="0">function showAdvancedSearchForm(){ var win = $find("<%#rwAdvancedSearchForm.ClientID %>"); win.show(); win.center();} function showAdvancedSearchForm(){ var win = $find("ctl00_PageContent_rwAdvancedSearchForm"); win.show(); win.center();} </script><div id="ctl00_PageContent_UpdatePanel1">
<div id="ctl00_PageContent_rwManager" style="display:none;"> <div id="ctl00_PageContent_rwAdvancedSearchForm" style="display:none;"><telerik:RadWindowManager ID="RadWindowManager1" runat="server">
<Windows>
<telerik:RadWindow runat="server" IconUrl="~/impromptu/att.png" Width="450px" NavigateUrl="DialogTozin.aspx" ID="Window1"></telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
I too want when show radwindow it was maximum size default
please help to me