16,019,129 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Visual Basic questions
View Javascript questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ganga Patangi (Top 8 by date)
Ganga Patangi
29-May-12 8:21am
View
Nope...you can use this...You wont get any errors or wrong output...
Ganga Patangi
22-May-12 5:31am
View
Hey Ashish thanks... I got solution ....
Ganga Patangi
17-May-12 4:39am
View
Thanku i got to know the exact error...
Ganga Patangi
17-May-12 2:50am
View
Thanks for ur post...
I have tried this one and its working fine in local system. but it is not working when it is deployed in server
protected void lnkView_Click(object sender, EventArgs e)
{
Session["ControlId"] = null;
Session["PatientName"] = null;
GridViewRow gvRow = (GridViewRow)(sender as Control).Parent.Parent;
Label lblId = (Label)gvRow.FindControl("lblId");
Label lblName = (Label)gvRow.FindControl("lblFirstname");
Label lblLastName = (Label)gvRow.FindControl("lblLastName");
Label facId = (Label)gvRow.FindControl("facId");
string PatientName = lblName.Text + " " + lblLastName.Text;
Session["PatientName"] = PatientName;
GetMappingpatientListByFacility(Convert.ToInt32(lblId.Text.Trim()),Convert.ToInt32(facId.Text.Trim()));
GetMappedpatientList(Convert.ToInt32(lblId.Text.Trim()));
Session["ControlId"] = lblId.Text.Trim();
Session["FacilityId"] = facId.Text.Trim();
}
ERR0R:(After deploying)
Runtime Error
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customerrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customerrors> tag should then have its "mode" attribute set to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customerrors mode="Off">
Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customerrors> configuration tag to point to a custom error page URL.
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customerrors mode="RemoteOnly" defaultredirect="mycustompage.htm">
Ganga Patangi
16-May-12 6:10am
View
Previously I was getting below error.
Invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation
When i set EnableEventValidation="false" nothing is happening. I mean no click event is firing...
Ganga Patangi
16-May-12 5:54am
View
Hi,
Already i have placed the code behind binding in page_load method. and set EnableEventValidation=false on page directive.
here my code goes....
Collapse | Copy Code
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
GetAllPatientList();
}
}
protected void GetAllPatientList()
{
if (Session["FacilityID"] != null)
{
int facilityId = Convert.ToInt32(Session["FacilityID"]);
CareHIEBL objCareHIEBL = new CareHIEBL();
List objPatientDetailsBOList = objCareHIEBL.GetAllPatientsByFacility(facilityId);
grdPatientList.DataSource = objPatientDetailsBOList;
grdPatientList.DataBind();
}
}
click event is not firing...
Ganga Patangi
1-Dec-11 0:43am
View
Thanks VallarasuS.. I got solution using this link http://stackoverflow.com/questions/1346707/validation-in-textbox-in-wpf
Ganga Patangi
1-Dec-11 0:34am
View
yeh its MVVM..
Show More