Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
47 views

 

Just use the radscheduler scenario for a service and it works inserting detailed info via 4.0, but with 4.5 .net it gets the following error:

 

(How do I get around this??)

(also - I notice 4.5 doesnt display any tooltip type message liek 4.0 does, and if I type somehting in the simple form subject and hit options, in 4.0 it carries what I typed to the options screen, but 4.5 does not - something is disconnected??)

 

Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Web.UI.RadScheduler.InsertAppointmentInline() +38 Telerik.Web.UI.RadScheduler.OnBubbleEvent(Object source, EventArgs args) +316 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +127 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +168 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9858028 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1696

mike
Top achievements
Rank 1
Iron
 answered on 26 Feb 2021
8 answers
595 views
Thanks in advance for any assistance.

I have a radgrid that I am trying to change the ExpandCollapseColumn-HeaderStyle-Width. I am using the Office2007 skin and have tried to override the style in different places without any luck. I have tried the .aspx in the grid, mastertableview and ExpandCollapseColumn definitions. I have also tried to set the width in the prerender and columncreated events as suggested in some posts. I went even further to try many of the other events to determine if something was just out of sequence and setting the value back.  I have tried setting the widths to various sizes (10, 10px, 50, 50px) to see if there was some minimum width constraints that I was unaware of. None of these seemed to work.

Lastly, I debugged through the code to see that in fact the value of the ExpandCollapseColumn-HeaderStyle-Width property was in fact the value that I set it to, no matter the location that I set it. However, the rendered ExpandCollapseColumn continues to be at the default width. so now I lean on the support of fellow telerik users and employees to help determine the issue. I'm sure it is an easy one, but one that has been plaguing me for much too long. Please see the ASPX code below.

Thanks,

Bill

 

<asp:PlaceHolder ID="plcBudgetViewROS" runat="server" Visible="false">
    
<telerik:RadGrid runat="server" ID="RadGridROSView" GridLines="none" 
  
ShowFooter="False" 
AutoGenerateColumns="false" 
AllowAutomaticInserts="true"
ShowStatusBar="true" 
AllowAutomaticUpdates="True" 
DataSourceID="odsBudgetROS" 
AllowFilteringByColumn="False" 
AllowSorting="True"
AllowMultiRowSelection="True" 
ShowGroupPanel="false" 
AllowPaging="false" 
Skin="Office2007">
<MasterTableView ShowGroupFooter="false" DataKeyNames="CategoryID, BudgetItemID" AllowMultiColumnSorting="true" CellPadding="0" CellSpacing="1">
<GroupByExpressions>
    <telerik:GridGroupByExpression>
        <SelectFields>
            <telerik:GridGroupByField FieldAlias="Date" FieldName="DayLabel" HeaderValueSeparator=": "></telerik:GridGroupByField>
        </SelectFields>
        <GroupByFields>
                  <telerik:GridGroupByField FieldName="DayDate" HeaderText="Day" SortOrder="Ascending"></telerik:GridGroupByField>
        </GroupByFields>
      </telerik:GridGroupByExpression>
    <telerik:GridGroupByExpression>
          <SelectFields>
              <telerik:GridGroupByField FieldAlias="Label" FieldName="LabelName" HeaderValueSeparator=": "></telerik:GridGroupByField>
          </SelectFields>
          <GroupByFields>
              <telerik:GridGroupByField FieldName="LabelOrder" HeaderText="Label" SortOrder="Ascending"></telerik:GridGroupByField>
          </GroupByFields>
      </telerik:GridGroupByExpression>
 </GroupByExpressions>
 <RowIndicatorColumn HeaderStyle-Width="10" ItemStyle-Width="10" />
 <ExpandCollapseColumn HeaderStyle-Width="10" ItemStyle-Width="10" /> 
<Columns>
    <telerik:GridButtonColumn UniqueName="DeleteCommandColumn" ConfirmText="Are you sure that you would like to delete this item?" ConfirmTitle="Delete" CommandName="Delete" ButtonType="ImageButton" ImageUrl="/SMS/Images/delete.gif" ItemStyle-Width="15" >
      </telerik:GridButtonColumn>
      <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" EditImageUrl="/SMS/Images/edit.gif" ItemStyle-Width="15" >
      </telerik:GridEditCommandColumn
      <telerik:GridBoundColumn DataField="ItemDescription" HeaderText="Description" UniqueName="ItemDescription" ReadOnly="True" SortExpression="ItemDescription">
      </telerik:GridBoundColumn>
      <telerik:GridBoundColumn DataField="Category" HeaderText="Category" UniqueName="CategoryName" ReadOnly="True" SortExpression="Category" />
      <telerik:GridTemplateColumn UniqueName="Budget" SortExpression="WorkingBudgetAmount" DataField="WorkingBudgetAmount" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="150px" ItemStyle-HorizontalAlign="Right" ItemStyle-Width="150px">
          <ItemTemplate>
              <asp:TextBox runat="server" ID="txtWorkingBudget" Width="100px" CssClass="bodyInput"></asp:TextBox>
          <asp:PlaceHolder runat="server" ID="plcWorkingBudgetDetails" Visible="false"></asp:PlaceHolder>
          </ItemTemplate>
      </telerik:GridTemplateColumn
 </Columns>
<EditFormSettings UserControlName="/SMS/include/EditBudgetItem.ascx" EditFormType="WebUserControl">
<EditColumn UniqueName="EditBudgetItemColumn">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<ClientSettings AllowDragToGroup="False" AllowColumnsReorder="False">
    <Resizing AllowColumnResize="False" />
    <Selecting AllowRowSelect="True"></Selecting>
    <ClientEvents OnRowDblClick="RowDblClick" />
</ClientSettings>
<GroupingSettings ShowUnGroupButton="False" /> 
</telerik:RadGrid><!-- content end -->
 
</asp:PlaceHolder>
Dimo
Telerik team
 answered on 26 Feb 2021
1 answer
204 views

Team

Recently we have upgraded the Telerik_UI_for_ASP.NET_AJAX_2020_3_1021_Dev_hotfix which we use only Telerik.Web.UI & Telerik.Web.UI.Skins

We use default skin which is Office2010Blue which is stopped working after upgrade the dll's

we have added skin in webconfig before which is working fine before for the telerik version(2013.1.417.40) <add key="Telerik.Skin" value="Office2010Blue"/> and we don't add this EnableEmbeddedSkins=false

When we try to add EnableEmbeddedSkins=false in webconfig i cant able to see the office2010blue design part in our UI which css related skins are not loading 

 

Error:-

Telerik.Web.UI.RadTabStrip with ID='RadTabStrip1' was unable to find an embedded skin with the name 'Hay'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false

 

Thanks

Tamilzhazhagan

9746997565

 

 

Vessy
Telerik team
 answered on 25 Feb 2021
7 answers
273 views

Is it possible to set a localization toolbars zoom or search button ?  From code behind possible is pages manipulate only eg.  RadPdfViewer1.MessagesSettings.ToolBarMessages.PagerMessages.Pages = "xxx" but not zoom in, zoom out , zoom combobox or search and search form.

I looked in the Documentation and saw nothing about it.

 

Best Regards

Vessy
Telerik team
 answered on 25 Feb 2021
3 answers
70 views
Please note RadTabStrip~

IE11
click here

IE11 with the maximum
click

Normal↓

IE10:
click here

Chrome
click here

With IE11  RadTabStrip can not be normal,Please tell me that is the compatibility problems, or I use mistakes?
I am a japanese,so my Enlish is very poor.Thanks~Best wish

私はあなたの製品を本当に好きで、開発者は懸命に働いています!

Vessy
Telerik team
 answered on 25 Feb 2021
3 answers
410 views
How to get all selected items from checkboxlist using foreach loop?
Vessy
Telerik team
 answered on 25 Feb 2021
8 answers
586 views
hi

I have a radgrid that is ajaxified. All works fine except that i want a refresh of page when i do a paging on the grid. How should i go about it. Thanks

Sorry for any inconvenience caused.
Rumen
Telerik team
 answered on 25 Feb 2021
1 answer
94 views
 I inherited an application built using Sitefinity I think. There is an area where the asp button is disabled by anchor tags. Not sure how it is being disabled. The anchor tag has style "rfdInputDisabled" that surrounds the <input type="submit" >
Savio
Top achievements
Rank 1
 answered on 24 Feb 2021
2 answers
183 views
there are numerous but unhelpful threads about $find() failing to find radajaxmanager, a problem i am currently encountering after several weeks of successful operation. what must be true in order for $find() to find radajaxmanager???

i have a page with an ajaxcontrols toolkit tab. the first tab contains a grid whose rows can be selected (only 1 at a time). above the tab control is a radajaxmanager. the client onrowselected event is as follows:
    <script type="text/javascript" id="telerikClientEvents1">
//<![CDATA[
    function SaleEventsRadGrid_OnRowSelected(sender,args)
    {
  //find and set some other controls. then do the following to rebind a grid on another tab:
        $find("<=RadAjaxManager1.ClientID%>").ajaxRequest();
    }
//]]>
</script>

Error: Unable to get value of the property 'ajaxRequest': object is null or undefined

why can't $find() find radajaxmanager even though it can find any other control i wish to find? the aspx page uses a master page containing radscriptmanager.

Allen
Top achievements
Rank 2
Iron
Veteran
 answered on 24 Feb 2021
1 answer
106 views
I'm using https://demos.telerik.com/aspnet-ajax/grid/examples/data-binding/client-side/programmatic/defaultvb.aspx?show-source=true as an example for client side binding, however for columns with datetime data type I can't get the filter to work properly when EnableRangeFiltering is enabled. Does anyone have an example to make the BuildParameter correct, in which case GridKnownFunction.Between is used and the values are passed in expression.FieldValue separated by space. Example: "01/01/2021 07/01/2021". Thanks
Attila Antal
Telerik team
 answered on 24 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?