- Strength to Increase Rep
- +6
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 5
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Software Architect
- Interests
- Music, Guitars
- PC Specs
- DELL Dimension 9200C, intel core duo 2.4 ghz, 4GB ddr ram
Re: or you could use a custom validator: this part in your asp page [CODE] <asp:TextBox id="txtTextBox" runat="server"/> <asp:CustomValidator id="cvLengthValidator" runat="server" OnServerValidate="cvLengthValidator_OnServerValidate" ErrorMessage="Minimum Length is 10" ControlToValidate="txtTextBox"/> [/CODE] in your code behind [CODE] protected void cvLengthValidator_OnServerValidate(object sender, ServerValidateEventArgs e) { e.IsValid = e.Value.ToString().Length > 10; } [/CODE] | |
Re: Hi, You need to take a close look at your web.config file, it looks like you may have a duplicate line in the HttpHandlers section. It could also be that you have 2 web.config files i.e. 1 in the root folder and a second in the imageserver folder, with duplicate … | |
Re: you could also add a literal control to your page/user control [code] <asp:Literal id="litHtml" runat="server"/> [/code] And then assign your html to its text property: [code] litHtml.Text = "<h3>Hello World</h3><div>Something here</div>"; [/code] | |
Re: How about converting it so that it can be played with the silverlight media player using Expression Encoder | |
Re: How about this for an idea : an ASP.NET site in the vein of Sorcefourge which catalogues and lists ASP.NET only open source projects and allows people to contribute and logs the progress of the projects bug tracking etc. Theres a career in there somewhere! | |
Re: cboEmpList.DataValueField = myRead.GetValue(myRead.GetOrdinal("EId")) that line is only useful if you are databinding in your case use [CODE] cboEmpList.Items.Add(New ListItem(myRead.GetValue(myRead.GetOrdinal("EId")), myRead.GetOrdinal("FName")) + " " + myRead.GetValue(myRead.GetOrdinal("Mi"))) [/CODE] | |
Re: this article has both server and javascript solutions: [URL="http://aspalliance.com/1614_Adding_Filter_Action_to_FileUpload_Control_of_ASPNET_20.all"]http://aspalliance.com/1614_Adding_Filter_Action_to_FileUpload_Control_of_ASPNET_20.all[/URL] | |
Re: why not check whether the DataSet has any rows in code before binding then show/hide a label with that text? | |
Re: Totally agree with SKnake on this, any kind of attempt to use dynamic sql should include thorough checking for SQL injection attempts. The solution is as stated that the parameter is text and should be enclosed in single quotes spaces around the equals will make no difference at all, if … | |
Re: You need to create a Session Object as every time someone visits your site a session is created by default. You can think of the session as a big hashtable with keys to retrieve the contents, one important thing to remember though is that Sessions dont last forever, so if … | |
Re: try this article: [URL="http://stackoverflow.com/questions/82319/how-can-i-determine-the-length-of-a-wav-file-in-c"]http://stackoverflow.com/questions/82319/how-can-i-determine-the-length-of-a-wav-file-in-c[/URL] | |
Re: erm am I missing the point? ASP.NET & Javascript as competing web development technologies? You have to look at what your project involves, if you want to do any serious database driven web application you will need to use ASP.NET, PHP, Ruby on Rails or any of the server scripting … | |
Re: just a thought, but is the shared folder dug down about ten levels in a folder with odd characters or something like that? | |
Re: we use infosaic.com, they support all versions of asp.net, sql etc too | |
Re: There are databound controls in asp.net mobile like the mobile list control, or you can use something like the mobile textview control and add your own markup. You have to be a bit careful as different mobile devices support different markup like tables for example. | |
Re: Hosting wise you could try infosaic.com they do reasonable .NET hosting and you get a sql express database with the hosting package. You also get a domain name with the package too. For more robust but more expensive try DiscountASP.net. In reality while a good example website could get you … | |
Re: I take it you are using VS2005 or 2008 if you are using an app_code folder? I suspect you may need to change your publish settings. Also you said web application not website, so just in case, you cannot use app_code in web application projects only web sites, and you … | |
Re: I agree with sknake safest place is in the database, if you don't have one why not use ASP.NET forms authentication and put the login details in the web.config file? | |
Re: Something like this depending on your database name and location: OleDbConnection conn; OleDbCommand comm; OleDbDataReader dr; conn = new OleDbConnection("Provider = Microsoft.Jet.OLEDB.4.0; Data Source = C:\\db1.mdb"); comm = new OleDbCommand("Select * from Table1",conn); conn.Open(); conn.Close(); | |
Re: Hi sfRider, Sadly, dynamic content is dynamic content, so if the links are being rendered on the fly by javascript then you will not be able to scrape them. | |
Re: This library encapsulates the functions in the twitter api: [URL="http://code.google.com/p/twitterizer/"]http://code.google.com/p/twitterizer/[/URL] See the twiiter api documentation for details: [URL="http://apiwiki.twitter.com/Twitter-API-Documentation"]http://apiwiki.twitter.com/Twitter-API-Documentation[/URL] | |
Re: Hi, I would load the seperate xml files into datasets then merge the datasets as you cannot merge the individual tables in a single dataset without iterating through the data rows, check this article on MSDN for a detailed description on merging Datasets: [URL="http://msdn.microsoft.com/en-us/library/aa984388(VS.71).aspx"]http://msdn.microsoft.com/en-us/library/aa984388(VS.71).aspx[/URL] | |
Re: I think the generic description for this is single sign on, there are several ways to achieve it, some are more secure than others, essentially google is using cookies combined with a check that the user is allowed access to a particular application. By default ASP.NET authentication uses an auth … | |
Re: Your original solution will work fine, I suggest you use some url rewrites to achieve the impression that there are multiple event pages on the site. One simple way is to use an assembly called UrlRewriting.net [URL="http://www.urlrewriting.net/149/en/home.html"]http://www.urlrewriting.net/149/en/home.html[/URL] this is a free URL rewriting module, this would enable you to map … | |
Re: you will not be able to see the flash buttons work in the Visual Studio IDE however you should see them when you debug in IE provided the code is correct for the flash object | |
Re: why not use an iframe on the the buy.com site to host the page on pay.com? | |
Re: Sorry for the very general answer but the question is very general too! I suggest you look up some sites dealing with web design, CSS, web standards and probably table layouts too. These are really basic things you should know before attempting to build a web site. Visual studio can … | |
Re: C# in my humble opinion, because it looks nice init! | |
Re: Here's a Scott Gu blog which explains how to configure membership for use on a remote server, you may have to ask the hosting company to configure the database for you: [URL="http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx"]http://weblogs.asp.net/scottgu/archive/2005/08/25/423703.aspx[/URL] | |
Re: Hi Jumbo, A infarction said, you don't ever link to the Master Page url so probably in your code you have something like: [ICODE] protected void btnTest_Click(object sender, EventArgs e) { Response.Redirect("YourMasterPage.master"); } [/ICODE] But it should read: [ICODE] protected void btnTest_Click(object sender, EventArgs e) { Response.Redirect("YourContentPage.aspx"); } [/ICODE] |