Groups | Blog | Home
all groups > asp.net building controls > march 2004 >

asp.net building controls : Help needed for renderered control


Jairo Nieto
3/29/2004 11:17:34 AM
Hi,

I developed a date rendered control, problem is when the page the control is
in postbacks i get this error

Value cannot be null. Parameter name: String
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.ArgumentNullException: Value cannot be null.
Parameter name: String


[ArgumentNullException: Value cannot be null.
Parameter name: String]
System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo
info) +0
Controles.AX_DatePicker.LoadPostData(String postDataKey,
NameValueCollection values) +668
System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean
fBeforeLoad) +391
System.Web.UI.Page.ProcessRequestMain() +621


How can i fix it? Thx

Teemu Keiski
3/31/2004 11:09:31 AM
Hi,

you might want to show the code. It is hard to say anything exact without
seeing the code.

--
Teemu Keiski
MCP, Microsoft MVP (ASP.NET), AspInsiders member
ASP.NET Forum Moderator, AspAlliance Columnist
http://blogs.aspadvice.com/joteke

[quoted text, click to view]

Jairo Nieto
3/31/2004 6:38:59 PM
Hi Teemu,

I have already solved the problem, thx for your reply tho. Problem was in
the LoadPostData method, i was calling the control with an old name in one
of the lines i was trying to retrieve the values.

Thx again :)

[quoted text, click to view]

AddThis Social Bookmark Button