Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
127 views
Hi,
I used following code in my page.

<%

 

@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<

 

 

form id="form1" runat="server">

 

 

 

<telerik:RadScriptManager ID="RadScriptManagerCP" runat="server">

 

 

 

</telerik:RadScriptManager>

 

 

 

<table cellpadding="0" cellspacing="0" border="0">

 

 

 

<tr>

 

 

 

<td>

 

Est Prod Date

 

&nbsp;</td>

 

 

 

<td style="padding-right: 20px">

 

 

 

<table border="0" cellpadding="0" cellspacing="0">

 

 

 

<tr>

 

 

 

<td>

 

 

 

<asp:TextBox ID="prodDT" runat="server"></asp:TextBox></td>

 

 

 

<td>

 

 

 

<asp:Panel ID="panelProdDT" runat="server">

 

 

 

</asp:Panel>

 

 

 

</td>

 

 

 

</tr>

 

 

 

</table>

 

 

 

</td>

 

 

 

</tr>

 

 

 

<tr><td><asp:TextBox runat="server" ID="txt" TextMode="MultiLine"></asp:TextBox></td>

 

 

 

<td><telerik:RadSpell ID="spell1" Runat="server" ControlsToCheck="txt" IsClientID="true" ButtonText="Spell Check"/></td></tr>

 

 

 

</table>

 

 

 

 

</form>

Now the page is throwing error.
 

 

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.]
   OboutInc.Calendar2.ScriptManagerHelper.RegisterHiddenField(Control control, String name, String value) +145
   OboutInc.Calendar2.Calendar.OnPreRender(EventArgs e) +190
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

But when i remove RadSpell control's tag calender control is working fine.
Please suggest.
Amit
Top achievements
Rank 1
 asked on 04 May 2012
2 answers
305 views
Hi,

I have a few questions to ask. I'm not able to update the data and select the item from the dropdownlist.
I have the code here. It is the exact same things i refer from ( http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultvb.aspx# ). Only change the dropdownlist to ItemTemplate
because it is not populate from the databinding.

<telerik:GridTemplateColumn HeaderText="Branch" SortExpression="Branch" UniqueName="TemplateColumn"
    EditFormColumnIndex="1">
    <ItemTemplate>
        <asp:Label runat="server" ID="lblBranch" ><%# DataBinder.Eval(Container.DataItem, "Branch")%></asp:Label>
    </ItemTemplate>
    <EditItemTemplate>
      <asp:DropDownList ID="DropDownList1" runat="server" >   
        <asp:ListItem Value="KL" >KL Head Office</asp:ListItem>       
        <asp:ListItem Value="PG" >Penang</asp:ListItem>  
        <asp:ListItem Value="JB" >Johor Bahru</asp:ListItem>
      </asp:DropDownList
    </EditItemTemplate
</telerik:GridTemplateColumn>

If I put SelectedValue='<%# Bind("Branch") %>'  at the EditItemTemplate I can update the data but
I cannot add new record. It will appear this error:
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException:
'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
And if I remove the SelectedValue, I can add new record but I cannot update the data.
It will appear this error:
User with ID 3 cannot be updated. Reason: Cannot insert the value NULL into column 'Branch', table 'eDMS42.dbo.TblBranchApprover'; column does not allow nulls. UPDATE fails.
The statement has been terminated.
It's been bugging me for a week now. Please help me out.
Sheila
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
532 views
Hi,

I am having a radcombobox which gets populated in ItemsRequested event.I have set IsCaseSensitive to false.All my Items are in uppercase.When i enter an uppercase text it filters correspondingly and i am able to get selectedvalue but when i enter a lowercase text it filters but unable to take selectedvalue.

Plz help
Thnx in advance
Princy
Top achievements
Rank 2
 answered on 04 May 2012
3 answers
118 views
Hello Team,


I am working with RadEditor,when i was  using radeditor
control with Framwork 4.0 i found a extra Rectengulr box at 
the bottom of Radeditor .But as the same control ,when i am 
using with framwork 2.0, its not shown,that i exactlly want.

So,tell me how i can set invisibale mode or remove that
Rectangular Bottom Box


i also attached a simple snap shot hopfully .It's helpfull
for team understanding about issue.
Alok
Top achievements
Rank 1
 answered on 04 May 2012
7 answers
147 views
Hi,
I'm evaluating the newest update. What has changed and been fixed between 2012.1.411.0 and 2012.1.419.0?

I'm looking at the Release History and it doesn't have 419. http://www.telerik.com/products/aspnet-ajax/whats-new/release-history.aspx

Thanks,
Dan
Iana Tsolova
Telerik team
 answered on 04 May 2012
3 answers
82 views
Hello,

I wanted to edit the title of the old thread to convey the seriousness of this topic. Title's aren't editable apparently.

The 2 lists of Release notes I found are both incomplete.

Please update the release notes. Or is there another location where I can read the history?

Old thread: http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/release-notes-for-2012-1-419.aspx

Thanks,
Dan
Iana Tsolova
Telerik team
 answered on 04 May 2012
10 answers
136 views
Hello

I have a Telerik installation on server. Earlier all controls were fine, but now all of a sudden none of them work.
I have copied the Telerik.Web.UI.dll file to the bin folder.

Any quick help will he appreciated.

Screenshot for reference

Controls visible in the image:
1. RadTree
2. RadEditor
Vivek
Top achievements
Rank 1
 answered on 04 May 2012
1 answer
41 views
I have a graphic with 2 YAxis and 8 bars. I need to do 4 bars belong to left YAxis and others 4 lines belong to right Yaxis. How can I do?
This Chart has on XAxis a time scale. I need toi build a graphic on time line.

Thanks.
Evgenia
Telerik team
 answered on 04 May 2012
3 answers
99 views

Hi ,

  This is Rathan. I  placed one tabcontrol inside the page for subselection this tab control is not working  in IE8 browser

please help me .how it will work ?


anks & Regards,
Rathan.k

Helen
Telerik team
 answered on 04 May 2012
1 answer
92 views
I have a graphic. In this graphic I need to show two moments. One moment, between a year range and other moment in other range. So, each range must be two diferent colors, in same line serie. I think to build two series, but when I put serie = 0, I heve a dot line, but I don't want a dot line, but invisible line. Is posible? Below my code:

chartSeries1.SetValues(bl.doubleArrayMercado);
chartSeries2.SetValues(bl.doubleArray2009);
chartSeries3.SetValues(bl.doubleArray2010);
for (int i = 0; i < bl.doubleArray2009.Length; i++)
{
if (bl.doubleArray2009[i] == 0)
{
chartSeries2.Items[i].Empty = 
true//Here a dot line and no invisible line 

chartSeries2.Items[i].Visible = 
false;
}
}
for (int i = 0; i < bl.doubleArray2010.Length; i++)
{
   if (bl.doubleArray2010[i] == 0)
   {
chartSeries3.Items[i].Empty = 
true;//Here a dot line and no invisible line
chartSeries3.Items[i].Visible = 
false;
    }




Peshito
Telerik team
 answered on 04 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?