I'm on a project which is near completion. I have this page, a student page that shows daily attendance reports and allows the student to search based on some criteria. When the search button (The LinkButton) is clicked it redirects to the default page instead. This is not acceptable. I'm sure of my code and I know nothing is wrong with it. But for some reason the event is not firing and it redirects me to the default page instead. I've also tried to debug the code by doing a step through. Unfortunately that one did not work either. That was where I knew that the code for the linkbutton is not being fired. Please does anybody have a clue as to what the problem might be because, it's actually driving me nuts. Many thanks in advance.
i try for create web setup(open-file-new-project-other project type-setup and deployment and select web setup project ) but i select project output from right click web application folder and select project output but not get any information in combo box of project so, plz guide me for create web setup in vs2008 step by step and indicate my problem
I am developing a web-based application mainly using the .NET stack, (ASP.net with C# in the code-behind, the AJAX toolkit...). What I need now is to provide some basic image edition functionalities. These are, to allow for basic zone definition directly over the image, and secondly to provide basic drag-and-drop (allowing to drag a previously defined item to a specific defined section on the image) capability.
i have published a website in VS 2010 and added it in ISS 5.1 using virtual directory now when i try to run it i get an error saying...
Failed to access IIS metabase
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.Web.Hosting.HostingEnvironmentException: Failed to access IIS metabase.
i tried changing the permissions but still get the same error
In 5.1, the metabase stores the website parameters.
So you ran the setup you made, and the setup did not complete all the parameters, leaving you with a broken website.
So go back to the website installer you made and fix the code. And test it running in debug, or at least look at 5.1 IIS management, to see what your missing. Write down what your missing on a piece of paper, and make the adjustments to your installation program.
Use the process of elimination, until you narrow it down, and it works.
I have an asp.net webform which has a div element named 'contents', and a textbox on it. The div is loaded with some html, which I've retrieved into a string in the codebehind file. Inside this html, I need to be able to mark up various bits of text so that when a user clicks them, it sends a message back to the server, which then populates the text box (which is on the same form) with some other data.
The problem I'm having is how best to communicat back to the server- so in the code below,
1) What should the line alert("You clicked " + x); be, so that it uses ajax to call back to the server, sending the parameter 'hello'
2) What method would be invoked on the server? Would it be Page_Load again?
3) After having called the server, what code would I need to popluate the text box without sending back the whole page again (i.e. still using ajax)? The problem is not retrieving the text on the server, let's just say I receive 'hello' as a parameter on the server, and want to send back 'goodbye' to the text box, again using ajax
I need to bind this data to a gridview with Templatefield with dropdownlist as ItemTemplate for columns such as Name and Sex and with textbox as ItemTemplate, so that I would be capable of editing the records in the gridview.
Please help me with a sample source code.
Thanks and regards,
Last Visit: 31-Dec-99 18:00 Last Update: 14-Jun-21 21:06