I'm working on a CRUD site with a lot of very similar forms for adding new data. In other words:
AddMovie.aspx, AddGame.aspx, AddBeer.aspx, AddAdd.aspx
I keep thinking to myself, "Self, it would be really nice to have a single Add.aspx instead of re-writing so many similar pages - plus all those OOP nerds would think I'm cool since I'm...
I have some client-side JavaScript that sets form fields. When the page posts back, those fields are reset.
Why is this? Aren't the field values captured and put in the ViewState when the postback occurs?
EDIT: When I break the debugger on Page_Load(), before any code executes after the postback, the form field values are empty.
...
We have several pages in our ASP.net Ajax application which auto refresh the UpdatePanels contents based on a timer event but the problem is that we have a requirement to timeout the web session and the auto refresh is preventing that.
Is there a way to prevent the timer postback event from modifying the web session or any other alterna...
Hi all,
I have the following database tables to work with and i am sort of new to oop so i thought i'd ask here.
assignment
----------
id
person_id
assigned_address_id
position_id
person
----------
person_id
current_address_id
name
ssn
drivers_license
address
---------
id
address_number
address_street
address_city
address_state
addr...
I'm implemented a solution which is constituted by a .NET back-end application based on ASP.NET: since the team that I'm considering to build should be composed of me and one or two front-end developers working in PHP.
A good side effect of this architecture is that PHP is a fast server-side scripting engine which require less resource...
Duplicate: http://stackoverflow.com/questions/649428/asp-net-special-tags
I work with PHP who using or for server tag ,but what the meaning and usage in ASP.NET's <%# %> and <%= %> ??
thanks you.
...
How do I set the EditIndex property of the GridView from the RowCommand event?
Cheers
...
its .net 2.0 here, not MVC, and im crap at asp forms :(.
So yeah, ive got a page with user controls on it. When i click on something in the page, i want to load the usercontrol based on a parameter from the page.
Problem is i cant do it.
In my page's FaultTree_Clicked, i get the value, then ive tried a variety of things:
I tried exp...
Hi all,
I'm getting a "Object reference not set to an instance of an object" error with the following at the top of the stack in the logs (C# ASP.NET application):
@Web.UI.UserBrochurePage.Page_Load(Object,EventArgs)+25 Line: 0
@System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr,Object,Object,EventArgs)+0 Line: 0
@System.We...
hi guys,
Following is the error coming while executing.
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Err...
Hi,
I want to use only jquery to update a method which is reading account information periodically from database every 60 minutes. I do not want to refresh or load the whole aspx page while I’m refreshing only that portion of the page. Is there any way for accomplish this task?
Thank you in advance
...
I'm learning ASP.MVC now. I got some problems of creating strong-typed view.
I added Entity Data Model to Models, and then I tried to add a strong-typed view based on the Entity Data Model I created. But I cannot see any class in "View data class" in "Add View" dialog.
Did I miss sonmething?
...
this is my scenario:
i have a page with a placeholder. the page adds dynimcally different kinds of controls (we wan't to display some data - getting the id via querystring or postback, as we also have a tree) to this placeholder.
the added controls all, more or less, contain a textbox (name of the displaying element), checkbox (active-st...
In my application , users can post messages, a title and body. The message is then accessed by a user clicking the hyperlink of the title to read the message. However, if a colon is entered by the user the hyperlink is not clickable. I'm looking for the quickest, easiest way of resolving this
The hyperlink is in a GridView so the issue ...
I want to output my InnerXml property for display in a web page. I would like to see indentation of the various tags. Is there an easy way to do this?
...
How can i arrange columns in asp.net gridview? i want to change 4 columns' location. ForExample:
column1 | column2 | column3 | column4 |
ChangeOrder()
column2 | column1 | column3 | column4 |
ChangeOrder()
column4 | column2 | column3 | column1 |
I want to move columns in Gridview.
...
Hi
I am trying to dynamically (i.e. via code) bind a directory to a asp.net Treeview control and once the data is bound and displayed to the user i want to get a list of nodes the select.
I have got the binding and displaying of checkboxes to work fine , but when i query the Treeview1.CheckedNodes it always returns 0. If i do not bind ...
I am currently involved in a ASP.NET project with about 40 projects in the solution. We are doing all our development in cloned Virtual PC environments so all developers have identical setups. That's all good, managing dependencies is easy, however building the solution is horribly slow. Virtual PC can only utilize one CPU so I'm really ...
Hi,
I am building two ASP.NET MVC sites. There is a certain amount of content I wish to be able to share between the two sites. I created a class library and was able to share a large portion of what I needed too. However I would really like to know how I could share contents such as images and javascript files, so I do not have to d...
I have a requirement wherein I have a bunch of about 10 aspx pages.The user shall be able to go from one screen to another using navigation.All the range , custom,regex validators need to file so that data enetered is correct.Required fields need not be entered at this stage and the user can skip required fields. On the last page, I need...