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:717986
More Search Options
RSS Available
Matching Posts
Re: How to get the value of dynamically created text box which is created dynamically on click of button control.
Hi sudhalaksh , Regarding dynamically created controls, they must be added to page controls hierarchy on Page.OnLoad or before( OnInit). If this rule is not respected then by the time Page try to find the controls that posted values they wont be present in controls hierarchy and naturaly the posted value will not be used for anything. Follow this rule and you will solve your problem.
Posted to
Web Forms
(Forum)
by
nmgomes
on 1/24/2009
Re: how to program a variable of type Friend?
Hi, sorry my last answer ... I think you should try Friend ddls As New List(Of DropDownList) And add the new ddl to the list as needed.
Posted to
Visual Basic .NET
(Forum)
by
nmgomes
on 5/17/2008
Re: how to program a variable of type Friend?
Hi, The problem is the scope of the dll variable. Since you declared the ddl inside the Page_PreInit event handler it will only be available in that scope, i.e., inside the Page_PreInit method. If you want to make it available to all Page methods you must declare the ddl variable outside Page_PreInit method, this way it will be a class field. Try it.
Posted to
Visual Basic .NET
(Forum)
by
nmgomes
on 5/17/2008
Re: search and replace the whole line in a flat file
Hi, You can simply do Dim regex As Regex = New Regex( "^.*Jim.*$" , RegexOptions.Multiline) strText = regex.Replace(strText, "James" )
Posted to
Free For All
(Forum)
by
nmgomes
on 5/14/2008
Re: Minimize View State size
Hi, You can disabled viewstate on bindable controls, i.e., GridView, DataGrid .... because these controls store the datasource in Viewstate. But keep in mind that if you do this, you must ensure that the datasource is stored elsewhere and that you do a databind with the stored datasource in all postbacks. This will ensure that change events can be fired.
Posted to
State Management
(Forum)
by
nmgomes
on 5/14/2008
Re: Range Validator giving javascript error
Hi, In javascript, variables name cannot start with numbers, so var 8x8.... will return an error and var _8x8... will work fine. If you are dynamically generating the javascript var name then append the '_' char at the name beginning and all var names will be valid.
Posted to
Web Forms
(Forum)
by
nmgomes
on 5/14/2008
Re: Can't access innerHTML property from code behind
Hi, You have 2 problems, the first related to the declaration of the Page directive that are preventing the compilation of codebehind: you are missing the set of CodeFile="Test1.aspx.vb" and Inherits="Test1" Page attributes. The second problem is related to the Page hierarchy. Since you are using a MasterPage the you must search the control accordingly. The following code should work. Test1.aspx <%@ Page Title="Test 1" Language="VB" MasterPageFile="
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
nmgomes
on 5/14/2008
Re: Can't access innerHTML property from code behind
I think the problem is the Content1 page declaration. Try adding this to your Page codebehind Protected Content1 As Content Also, don't use InnerHtml use instead DirectCast ( Me .Content1.FindControl( "MyH1" ).Controls[0], LiteralControl).Text = "Stuff" ;
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
nmgomes
on 5/14/2008
Re: Can't access innerHTML property from code behind
Hi, Try doing Me.Content1.FindControl("MyH1").InnerHtml.
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
nmgomes
on 5/13/2008
Re: upload image then resize image handler
Hi, The HttpPostedFile object contains an InputStream property that contains the file stream. You shoud pass this stream in Buffer parameter when calling ResizeFromStream. It should look something like: [...] foreach ( string fileKey in _context.Request.Files) { HttpPostedFile file = _context.Request.Files[fileKey]; ResizeFromStream(Path.Combine(uploadDir, file.FileName), 680, file.InputStream); } [...]
Posted to
Web Forms
(Forum)
by
nmgomes
on 5/13/2008
Page 1 of 22 (217 items) 1
2
3
4
5
Next >
...
Last ยป
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online