I need to give a dashboard in asp.net(with or without ajax / telerik) for production data like machine efficiency, total production,machine utilization, different type of products etc. Can some one help me with some design idea or templates(i have already seen sales dashboard,executive dashboard by telerik)
I am creating OnlineExam Application in .net, i am done with all the pages but am a bit muddeled how do i fetch the questions from the database...there is a page select question where user will select the questionpaper and the ID would be senr to the next page...i am done with this part but the problem is how do i call the questions from the "QuestionsTable"and then verify it with the correct answer.!
I have a form that allows users to enter data and a button users can click to send data to the database.
To ensure that data are sent to the database if and only if the form is modified, is it enough to use the statement if(!page.ispostback) in the button Onclick event in the codebehind page to check if the page is being sent to the server? Aside from the code to connect to a database then update or insert data, is there something else I would have to do? Thanks in advance.
Hello to all,
I'm working on a MVC 2 project. I have a View with some search fields. User can select his search criteria and based on that criteria, the records are displayed on the View. After that, the user can click a button to edit the record that he chosen. The user is redirect to the edit page. There he have the details of that record and can edit it. After save the changes, the user have a back button, that returns to the search page and results. And here is the problem. When I go back to the search page, the search criteria that I have selectd has gone. I need to fill the search fields again. I tried TempData, ViewData, ViewBag, Session and nothing.
I think most of your solutions should do the trick, however I would opt in using session. Can I ask how did you try to use it? For example, does your search criteria exist in model and do you fill it on GET action?
"My software never has bugs. It just develops random features."
Hi Team, i have a master page in my .net application and from master page i call a helper file (.cs)and my requirement is i would like to execute one method(returns a string value) in that helper file, my application connects to master page each time upon loading of different pages i would like to keep the first method call value and persist the value between different page calls
i am unable to user httpcontext.session object as it gives me null values always ,
can some one suggest me the best way to preserve the method call value between round trips.i cannot use caching also as pages may change per user hence user caching cannot be applied here.
In my view, the best way to study ASP.NET is to run the ASP.NET examples. Therefore I want to ask a question about remote debugging ASP.NET Applications. Recently, I have
read a very interesting article on the link
If I have understood correctly, one of necessary conditions to use this possibility is to
have a Visual Studio on any local computer (see "Fig: Block Diagram for Remote debugging of ASP.NET Application" from this article). In my understanding, If I have the local Visual Studio then I can debug my application on my computer always. My question is the following: How one can debug an ASP.NET Application on remote computer without any local Visual Studio ? This question is very important for me to get any positive answer. Suppose, a beginner wants to study ASP.NET by running the examples from a Tutorial about ASP.NET. But the beginner doesn't have any Visual Studio on his computer.
i have a dropdown in my page this is use for State and i have bound state list in dropdown but when submit form then error msg show "'drpCrntState' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value"
string StudentExtension = Path.GetExtension(flupldStdPhoto.FileName);
Functions.MsgBox("Director's sign is not in correct format." +
"Signature sign should be gif or jpg or jpeg image.");
public void InsertSchools(BOStudentDetails ObjStudent)
SqlParameter paramList =
new SqlParameter("@StDob", ObjStudent.StudentDob),
new SqlParameter("@StAdmDate", ObjStudent.StudentAddmissionDate),
new SqlParameter("@StFthName", ObjStudent.StudentFthName),
new SqlParameter("@StMthName", ObjStudent.StudentMthName),
new SqlParameter("@StCat", ObjStudent.StudentCategory),
new SqlParameter("@StGender", ObjStudent.StudentGender),
new SqlParameter("@StMob1", ObjStudent.StudentMobile1),
new SqlParameter("@StMob2", ObjStudent.StudentMobile2),
new SqlParameter("@StLandline", ObjStudent.StudentLandline),
new SqlParameter("@StDiscription", ObjStudent.StudentDiscription),
new SqlParameter("@StprmAdd", ObjStudent.StudentPrmAdd),
new SqlParameter("@StprmState", ObjStudent.StudentPrmState),
new SqlParameter("@StprmCity", ObjStudent.StudentPrmCity),
new SqlParameter("@StprmLoc", ObjStudent.StudentPrmLocation),
new SqlParameter("@StprmPin", ObjStudent.StudentPrmPin),
new SqlParameter("@StcrntAdd", ObjStudent.StudentCrntAdd),
new SqlParameter("@StcrntState", ObjStudent.StudentCrntState),
new SqlParameter("@StcrntCity", ObjStudent.StudentCrntCity),
new SqlParameter("@StcrntLoc", ObjStudent.StudentCrntLocation),
new SqlParameter("@StcrntPin", ObjStudent.StudentCrntPin)