Click here to Skip to main content
15,905,776 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
Alok Sharma ji15-Mar-09 17:44
Alok Sharma ji15-Mar-09 17:44 
GeneralRe: TextBox to autopostback "automatically" when text.length = x Pin
Christian Graus15-Mar-09 18:32
protectorChristian Graus15-Mar-09 18:32 
QuestionUnable to get the Identity column value for new row in MSSQL database. Pin
AprNgp15-Mar-09 9:13
AprNgp15-Mar-09 9:13 
AnswerRe: Unable to get the Identity column value for new row in MSSQL database. Pin
Christian Graus15-Mar-09 10:06
protectorChristian Graus15-Mar-09 10:06 
GeneralRe: Unable to get the Identity column value for new row in MSSQL database. Pin
AprNgp15-Mar-09 21:01
AprNgp15-Mar-09 21:01 
Questionhow to call Pin
JAYRAJ GIRI15-Mar-09 6:06
JAYRAJ GIRI15-Mar-09 6:06 
AnswerRe: how to call Pin
Expert Coming15-Mar-09 6:26
Expert Coming15-Mar-09 6:26 
GeneralRe: how to call Pin
Christian Graus15-Mar-09 10:19
protectorChristian Graus15-Mar-09 10:19 
AnswerRe: how to call Pin
Christian Graus15-Mar-09 10:18
protectorChristian Graus15-Mar-09 10:18 
Questionequivalent of string.contains(vs2005) in vs2003. Pin
bishwambhar_sen15-Mar-09 1:31
bishwambhar_sen15-Mar-09 1:31 
AnswerRe: equivalent of string.contains(vs2005) in vs2003. Pin
N a v a n e e t h15-Mar-09 3:50
N a v a n e e t h15-Mar-09 3:50 
Questionsetting DropDownList value Pin
liz315-Mar-09 0:44
liz315-Mar-09 0:44 
AnswerRe: setting DropDownList value Pin
Expert Coming15-Mar-09 5:44
Expert Coming15-Mar-09 5:44 
General[Message Deleted] Pin
liz315-Mar-09 5:50
liz315-Mar-09 5:50 
GeneralRe: setting DropDownList value Pin
Expert Coming15-Mar-09 5:52
Expert Coming15-Mar-09 5:52 
GeneralRe: setting DropDownList value Pin
Expert Coming15-Mar-09 5:53
Expert Coming15-Mar-09 5:53 
Questionfile reading and writing problems Pin
StarTrekCafe15-Mar-09 0:31
StarTrekCafe15-Mar-09 0:31 
AnswerRe: file reading and writing problems Pin
Mustafa Ismail Mustafa15-Mar-09 4:00
Mustafa Ismail Mustafa15-Mar-09 4:00 
AnswerRe: file reading and writing problems Pin
Expert Coming15-Mar-09 5:45
Expert Coming15-Mar-09 5:45 
AnswerRe: file reading and writing problems Pin
StarTrekCafe15-Mar-09 16:04
StarTrekCafe15-Mar-09 16:04 
AnswerRe: file reading and writing problems Pin
StarTrekCafe15-Mar-09 18:06
StarTrekCafe15-Mar-09 18:06 
QuestionNot Gorogrian Calander In Asp.net Pin
Mohamed Ibrahim Omar15-Mar-09 0:25
Mohamed Ibrahim Omar15-Mar-09 0:25 
AnswerRe: Not Gorogrian Calander In Asp.net Pin
Mustafa Ismail Mustafa15-Mar-09 3:49
Mustafa Ismail Mustafa15-Mar-09 3:49 
General[Message Deleted] Pin
Mohamed Ibrahim Omar15-Mar-09 20:43
Mohamed Ibrahim Omar15-Mar-09 20:43 
GeneralRe: Not Gorogrian Calander In Asp.net Pin
Mohamed Ibrahim Omar15-Mar-09 20:43
Mohamed Ibrahim Omar15-Mar-09 20:43 
I am not Passing any date what I am doing is

adding Clander control from the tool box
then writing the following lines in page load event:
System.Globalization.CultureInfo ci = new System.Globalization.CultureInfo("ar-SA");
Thread.CurrentThread.CurrentUICulture = ci;
Thread.CurrentThread.CurrentCulture = ci;

System.Threading.Thread.CurrentThread.CurrentCulture = ci;
System.Threading.Thread.CurrentThread.CurrentUICulture = ci;

then I am getting the following error:






Server Error in '/COEIA' Application.
--------------------------------------------------------------------------------

Valid values are between 1 and 9666, inclusive.
Parameter name: year
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.ArgumentOutOfRangeException: Valid values are between 1 and 9666, inclusive.
Parameter name: year

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:


[ArgumentOutOfRangeException: Valid values are between 1 and 9666, inclusive.
Parameter name: year]
System.Globalization.HijriCalendar.CheckYearRange(Int32 year, Int32 era) +2315381
System.Globalization.HijriCalendar.GetDaysInYear(Int32 year, Int32 era) +20
System.Globalization.HijriCalendar.GetDatePart(Int64 ticks, Int32 part) +234
System.Globalization.HijriCalendar.GetYear(DateTime time) +26
System.Web.UI.WebControls.Calendar.IsTheSameYearMonth(DateTime date1, DateTime date2) +73
System.Web.UI.WebControls.Calendar.EffectiveVisibleDate() +163
System.Web.UI.WebControls.Calendar.Render(HtmlTextWriter writer) +89
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +163
System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +32
System.Web.UI.HtmlControls.HtmlForm.Render(HtmlTextWriter output) +51
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.HtmlControls.HtmlForm.RenderControl(HtmlTextWriter writer) +40
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
System.Web.UI.Page.Render(HtmlTextWriter writer) +29
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1266

Mohammed Ibrahim

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.