Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:720211
More Search Options
RSS Available
Matching Posts
Re: HELP. Getting a Value from an .ASCX onto my .ASPX
Hi Jason, This is due to the access modifiers in the control. Since you only need to get the file name. Create a public property with only the get accessor method in the ascx.cs file. This method would return the value present in the lable control or you can create another variable and set this value too to the filename. On the aspx page use the instance name of the UserControl now that your property is public this property is accessible to you on the aspx page. Happy Programming Anton
Posted to
Web Forms
(Forum)
by
antonpious
on 5/23/2008
Re: Booking problem
Hi Srinivas, Create a timer on your page which counts backwards from 10 mins. Have a button on the timer which would reset the time back to 10 mins asynchronously. Have alert mechanism to alert the user if the time limit is reached. If you are opening the paypal page in a popup from the parent then use the opener property to focus parent window. If not open the paypal page in a Iframe with the timer and reset control present on the same page Happy Programming Anton
Posted to
Web Forms
(Forum)
by
antonpious
on 5/20/2008
Re: Forms Authentication Question
Hi Duke, The FormsAuthenticationTicket has an overload which takes User Data. You can put your required data here based on your logic and get it back on every request as its present in the cookie. You can have delimiters here to separate multiple values. With regard to security FormsAuthentication.Encrypt would take care of encryption of the cookie The example link I sent has a way to do it. With regard to storing more data, you should be aware that some browser allowing only 1 KB as Cookie size
Posted to
Security
(Forum)
by
antonpious
on 5/20/2008
Re: Forms Authentication Question
Hi Duke, There are a lot of things involved on what the user is authorized to do. what FormsAuthenticationTicket does is for Authentication so that User has access to the System. For custom authorizations you need to implement your own Pricipal on top of IPrincipal to add properties to the Users context. Please refer MSDN 2005 How To Implement IPrincipal (Paterns and Practices) ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/secmod/html/secmod20.htm Happy Programming Anton
Posted to
Security
(Forum)
by
antonpious
on 5/19/2008
Re: Append datas on xml file with xmlwriter class
Hi Eric With .NET 2.0 there is another new overload of XmlWriter which takes in a TextWriter which is used to specify if you need to append to the file or not Here is a sample XmlWriterSettings settings = null; XmlWriter writer = null; settings.Indent = true; settings.OmitXmlDeclaration = true; settings.NewLineOnAttributes = true; settings = new XmlWriterSettings(); using (StreamWriter fileWriter = new StreamWriter(@"filenamewithpath", true)) { writer = XmlWriter.Create(fileWriter, settings
Posted to
XML and XmlDataSource Control
(Forum)
by
antonpious
on 5/15/2008
Re: implemet a redirect
Hi There are a lot of things you need to take care when implementing a HTTP Module Things like forms authentication ask you to enter the login details before your module is called so the user would enter the login details and then ASP.NET would redirect to the maintenance page. With regard to DigiMortal Solution the application start event is called only on the first request, so another approach need to be done like session onstart event and so on. He has given you a quick solution which means the
Posted to
Architecture
(Forum)
by
antonpious
on 5/14/2008
Re: how to remove these alignment dots?
Dear Govind, I think you have turned on your whitespace viewing which repalces spaces with dots etc You can toggle it on/ off in VS 2005 by short cut key Ctrl R, Ctrl W. or Edit Menu - Advanced - View White Space Happy Programming, Anton
Posted to
Web Forms
(Forum)
by
antonpious
on 5/12/2008
Re: Internals of AJAX toolkit
[quote user="KaziManzurRashid"] But if your are recommending to develop a framework from a scratch then it is nothing but a poor advice. [/quote] It again goes back to the common saying "Web Services is not SOA" but "what is left of SOA if we remove Web Services". Here is a comparison of the coding that was done to make both your Client and Server Centric Models. Used by xml-script a Client-Centric model AtlasUIMap.js containing 823 lines of code with some lines extending
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
antonpious
on 7/12/2007
Re: Internals of AJAX toolkit
I appreciate your passion. [quote user="KaziManzurRashid"] easy to make an ajax version of a page without writing a single line of code. [/quote] yes this is why we are in this profession. Its one thing making life easy and another thing tricking us into it. The sample that came with AJAX 1.0 should have included the details of how it works together with what stmarti pointed out. The Page_Load event should have had the if statements to distinguish what code is called with AJAX. I am pretty
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
antonpious
on 7/11/2007
Re: Internals of AJAX toolkit
[quote user="stmarti"] "An asynchronous postback behaves much like a synchronous postback. All the server page life-cycle events occur, and view state and form data are preserved. However, in the rendering phase, only the contents of the UpdatePanel control are sent to the browser. The rest of the page remains unchanged." [/quote] Thanks for your inputs. Yes it sends the contents of the UpdatePanel together with changes to the ViewState, but lets say if I have 50 controls (textboxes
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
antonpious
on 7/10/2007
Page 1 of 15 (144 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Channel 9 Live at PDC09: Dr Jeff Norris, NASA
Channel 10:
Flickr Drive Integrates Flickr into Windows Explorer
Channel 10:
Playfire: A Growing Network for Gamers
Channel 10:
Find the Top iPhone Apps with Bing (Yes, Really!)
Channel 10:
Xbox to Become Emergency Alert System
Channel 10:
Progression of the Iconic Background
WindowsClient:
ASP.NET AJAX 4.0 Data Binding on MSDN Magazine
WindowsClient:
Don’t miss out..
TechNet Edge:
Improving Collaboration with SharePoint - Tech Focus December 2009 Part 1
Channel 9:
Channel 9 Live at PDC09: Scott Guthrie
Channel 10:
Get Discounted Concert Tickets at the New Windows Section 7
Channel 10:
Get Bing Wallpapers on the iPhone
Channel 10:
Bing Gets a New Toolbar
ASP.NET:
More on medium trust: what permission are you missing?
Channel 9:
Channel 9 Live at PDC09: Bob Muglia
WindowsClient:
Adventures With Windows Azure Diagnostics
Mix Online:
Adventures With Windows Azure Diagnostics
Channel 9:
Channel 9 Live at PDC09: Ray Ozzie
Channel 9:
Coding4Fun: DrinkTendr
Channel 9:
TWC9: Scott Hanselman, John Galloway, Bing, parallel unit tests, more
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online