CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.web_forms Tags:
Item Type: NewsGroup Date Entered: 1/31/2005 1:43:42 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 5 Views: 0 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
6 Items, 1 Pages 1 |< << Go >> >|
bazz
Asp.Net User
Increment on Page load1/31/2005 1:43:42 PM

0/0

I need to increment a session variable on Page.Load and not on a handeled event

Is there a way i can detect which web control button on my form has been clicked on the Page.Load event??

cheers

bazz
DanielHac
Asp.Net User
Re: Increment on Page load1/31/2005 4:39:57 PM

0/0


Sub Page_Load(ByVal Src As Object, ByVal E As EventArgs)
If Not IsPostBack() Then
'Increment you session variable here
End If
End Sub


Pandora Tomorrow
aspnetiman2
Asp.Net User
Re: Increment on Page load1/31/2005 4:48:15 PM

0/0

// C# example:

private void Page_Load(object sender, System.EventArgs e)
{
if(!IsPostBack) {
int counter = Int32.Parse(Session["counter"].ToString());
counter++;

Session["counter"] = counter;
}
}

xpcoder.NET

csharpalmanac.NET
bazz
Asp.Net User
Re: Increment on Page load1/31/2005 5:13:59 PM

0/0

No it is not as simple as that. The session variable has to be incremented before page.load has finished and only if a button is pressed.

So i need to detect which button has been clicked on and i can't use an event handler as they are only fired after the page.load method is completed.

I think i'll have to do some javascript.

bazz
joteke
Asp.Net User
Re: Increment on Page load1/31/2005 5:16:14 PM

0/0

Is there a way i can detect which web control button on my form has been clicked on the Page.Load event??

http://blogs.aspadvice.com/joteke/archive/2004/08/05/1444.aspx
Thanks,

Teemu Keiski
Finland, EU
bazz
Asp.Net User
Re: Increment on Page load2/1/2005 10:00:24 AM

0/0

Perfect

Thanks joteke

bazz
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Computational Methods in Engineering and Science: Proceedings of the 9th International Conference EPMESC IX, Macao, China, 25-28 November 2003 Authors: V. P. Iu, L. N. Lamas, Y. P. Li, K. M. Mok, Pages: 1004, Published: 2003
Structural Integrity Assessment Authors: Spon, Peter Stanley, Pages: 432, Published: 1992
Soil and Rock, Building Stones: Volume 04.08, Soil and Rock; Building Stones Authors: American Society for Testing and Materials, Pages: 1096, Published: 1986
Computational Modelling of Concrete Structures: Proceedings of the EURO-C 1998 Conference on Computational Modelling of Concrete Structures, Badgastein, Austria, 31 March-3 April 1998 Authors: René de Borst, Nenad Bićanić, Herbert Mang, Günther Meschke, Pages: 1022, Published: 1998
Computer Architecture: A Quantitative Approach Authors: David A. Patterson, John L. Hennessy, David Goldberg, Pages: 883, Published: 2003

Web:
Load Increment Repeat - What does LDIR stand for? Acronyms and ... What does LDIR stand for? Definition of Load Increment Repeat in the list of acronyms and abbreviations provided by the Free Online Dictionary and ...
Stupid problem: counting page views [Archive] - CodingForums.com I load the page in IE, and it increments by one. I load the page in Firefox, and it increments by two. Whaaat?!?! Am I totally losing it ...
PHP :: Using PHP To Load Another Page Or Html Page Page Load For IP; How To Load CSV Onto PHP Page; Incrementing On Page Load; Set Time To Load A Page; Page Load Frequency; Redirect If Page Does Not Load ...
Free check page load Download - check page load Software The Pages to load may be selected by entering page number in text box page To Load. Clicking on this box will increment the page number and display the next ...
Step increment versus constant load tests for determination of ... increment, continuous test (CT) and two constant load tests (CL and CL + 292%). A DCT test was performed first for establishment of peak elevation levels as ...
Joomla! • View topic - Keeping Session Data on each page load echo var_dump($session->get( 'increment' )); return true; } } ?> So here I am expecting that the first page load will return a value of 1 ...
Nabble - Lasso - Talk - Page Load Stats Interpretation: Lasso ... Page Load Stats Interpretation: Lasso? MySQL? Log Monitoring? ... One idea is to use global variables to increment page hits and then hit the MySQL table ...
WebKit Objective-C Programming Guide: Loading Resources Oct 15, 2008 ... You increment the resourceCount instance variable in the ... delegate method to reset these variables to 0 when a new page load starts. ...
Effect of Short Duration of Load Increment on the Compressibility ... Books & Journals/Geotechnical Testing Journal/Citation Page/ ... This study concerns the effect of duration of load increment (up to 24 h) on the ...
Table clause Simple specifier, CONCAT, CONSTANT, SEQUENCE, INCREMENT, Load field input value. ...... For more information about pseudocolumns, see page col_name, ...

Videos:
VVED Google Chrome + Popular Browser Benchmarks A browser benchmark test focusing on the newly released Chrome Browser. Technical refrence: In a program, the fps per cycle can be ...
XML11: An Abstract Windowing Protocol Google TechTalks June 1, 2006 Arno Puder Arno Puder received his masters and Ph.D. in computer science and is currently working as an ...
Google I/O 2008 - Painless Python Part 2 of 2 Painless Python for Proficient Programmers Part II Alex Martelli (Google) Python is a popular very-high-level programming language, with a ...
Santa Monica Council Meeting Santa Monica Council Meeting
Lucky Number Seven 777 פלאי השבע 7 Lucky Number Seven !!! פלאי השבע english subtitle הופעת המספר 7 פעמים כה רבות ביהדות ובבריאה, מעוררת השתאות. מהו סודו של ה-7 ? הכיצד יתכן ...
Long Beach City Council Meeting Long Beach City Council Meeting
SKEDCO Rescue Tripod Part 2/4 http://www.skedco.com SKED-EVAC™ TRIPOD SK-700 http://www.skedco.com/detail.aspx?categoryID=1&subID=5&sku=SK-700 Instructions http ...
Mexican Presidential Election; Needle Exchange Program; Medi ... The City Council is considering re-instating the needle-exchange program in San Diego, but it's a controversial issue that has council members on ...
Cincinnati 50"X 50" Rotary Table #3147 http://www.centracorp.com/rotaryt/3147.htm Cincinnati 50"X 50" Rotary Table Stock Number: 3147 CINCINNATI-GILBERT 50 Condition: Very Good ...
Premium Pallet Scale Truck - www.gloalindustrial.com Weigh and move loads in seconds! Quickly verify inbound and outbound freight. This versatile truck combines all features of a pallet truck with ...




Search This Site:










new at this, help with master pages and content place holder in content pages

folder site map: parser error message: could not load type 'test.simpleprovider'.

controlling the refreshing of controls

how do you customize the menu control?

the shared master page dilemma

website advice

menu control

masterpages, form-tags, etc....

site map, menus/treeview, and sitemappath

how to put the 'cascading' back into 'cascading style sheets'?

sqlsitemapprovider with sql2000 and caching problems

changes made to master page does not reflect on associated pages

problem extending treeview

contentpages changes size

how to: combine sitemap with dynamic flash menu

menu control question about linking to another website?

click on menu control

menu control error caused by parent panel resize

how do i style treeview control?

.css file overrides my theme file?

asp menu control not updating properly

sitemap navigation problem

menu and <div> problem

master pages and ajax control.

problem accessing control from master page

menu as include file

unable to edit content page in design view

need to know how to alter master page css settings for just one page.

sitemappath and menu color

treeview with images. add on click behavior to images

  Privacy | Contact Us
All Times Are GMT