Posts
 
Reputation
Joined
Last Seen
Ranked #428
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
87% Quality Score
Upvotes Received
5
Posts with Upvotes
5
Upvoting Members
5
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
4 Commented Posts
0 Endorsements
Ranked #1K
~27.8K People Reached
About Me

Software Architect

Interests
Music, Guitars
PC Specs
DELL Dimension 9200C, intel core duo 2.4 ghz, 4GB ddr ram
Favorite Tags

92 Posted Topics

Member Avatar for santhanalakshmi

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]

Member Avatar for Sagar_7
0
3K
Member Avatar for meyu

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 …

Member Avatar for paniraj
0
696
Member Avatar for dfs3000my

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]

Member Avatar for Rajesh_13
0
221
Member Avatar for samcaleb05
Member Avatar for asp.c#
0
988
Member Avatar for faiza

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!

Member Avatar for madelinekim
-2
204
Member Avatar for artee

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]

Member Avatar for navera
0
349
Member Avatar for nmakkena

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]

Member Avatar for tjaank
0
2K
Member Avatar for Sarah Lee

why not check whether the DataSet has any rows in code before binding then show/hide a label with that text?

Member Avatar for egrullard
1
2K
Member Avatar for RobertKramers

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 …

Member Avatar for samuelmac
0
3K
Member Avatar for msamir

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 …

Member Avatar for krishnamurtrhy
0
126
Member Avatar for khnouman

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]

Member Avatar for 123as
0
83
Member Avatar for teckforce

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 …

Member Avatar for teckforce
-1
611
Member Avatar for madmital

just a thought, but is the shared folder dug down about ten levels in a folder with odd characters or something like that?

Member Avatar for dbreise
0
348
Member Avatar for julseypart
Member Avatar for cherice
0
97
Member Avatar for elidotnet

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.

Member Avatar for amodiaas
0
114
Member Avatar for chicaloca

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 …

Member Avatar for chicaloca
0
228
Member Avatar for Datsun90

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 …

Member Avatar for sedgey
0
134
Member Avatar for sonia sardana

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?

Member Avatar for sedgey
0
93
Member Avatar for Jayakumar R

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();

Member Avatar for dharmeshdk
0
154
Member Avatar for sfrider0

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.

Member Avatar for sfrider0
0
866
Member Avatar for skumar.snl

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]

Member Avatar for sedgey
0
93
Member Avatar for normality2000

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]

Member Avatar for normality2000
0
95
Member Avatar for blackcorner

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 …

Member Avatar for blackcorner
0
120
Member Avatar for bsg

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 …

Member Avatar for sedgey
0
122
Member Avatar for mrGee

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

Member Avatar for sedgey
0
74
Member Avatar for atplerry
Member Avatar for gabs_72002

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 …

Member Avatar for sedgey
0
87
Member Avatar for shikeb
Member Avatar for ricksvoid

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]

Member Avatar for sedgey
0
114
Member Avatar for DATABASE

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]

Member Avatar for sedgey
0
203
Member Avatar for daniwebseenu

1. Right click your project in VS and click properties 2. Cick the publish tab on the left 3. Choose "Prerequisites" 4. Choose "Crystal Reports for .NET Framework 2.0" (make sure the check box is checked. 5. In the same window you will find 3 vertical Radio Buttons , chose …

Member Avatar for daniwebseenu
0
138
Member Avatar for Slovig

The errors are both related to IIS configuration you need configure the application virtual directories as applications: [URL="http://msdn.microsoft.com/en-us/library/zwk103ab.aspx"]http://msdn.microsoft.com/en-us/library/zwk103ab.aspx[/URL] If you are using shared hosting you will need to ask the hosting company to configure it for you, or some hosting companies allow you to do it yourself via their control …

Member Avatar for vuyiswamb
0
322
Member Avatar for pavithraram

you can use an ASP.NET Ajax Panel and a timer control: [URL="http://www.asp.net/ajax/documentation/live/tutorials/IntroToTimerControl.aspx"]http://www.asp.net/ajax/documentation/live/tutorials/IntroToTimerControl.aspx[/URL]

Member Avatar for sedgey
0
96
Member Avatar for dhpatil1

Here is a VB example: [URL="http://www.codeproject.com/KB/aspnet/AppPoolRecycle.aspx"]http://www.codeproject.com/KB/aspnet/AppPoolRecycle.aspx[/URL]

Member Avatar for sedgey
0
86
Member Avatar for maltova

This seems to do the job for firefox, but some are reporting problems for Opera and Safari: [URL="http://forums.asp.net/t/1013531.aspx"]http://forums.asp.net/t/1013531.aspx[/URL]

Member Avatar for sedgey
0
92
Member Avatar for agrothe

you could achieve the same thing using a custom sitemap provider, there is an article at MSDN that describes how to do this: [URL="http://msdn.microsoft.com/en-us/magazine/cc163657.aspx"]http://msdn.microsoft.com/en-us/magazine/cc163657.aspx[/URL] we use this extensively on our sites for menus, navigation etc. The benefit of this is that if you add the provider to your config file …

Member Avatar for agrothe
1
277
Member Avatar for Potato.Head

The error you are getting is because you are trying to modify the referrer header which is restricted if you comment out that line it should work

Member Avatar for Potato.Head
0
2K
Member Avatar for dhakshina moort

I think you should google 2 things 1. ASP.NET hosting (you need web space to host web sites) 2. FTP (this is how you usually get your files into the web space)

Member Avatar for joelsmith
0
88
Member Avatar for geordienz

changing the locale of the database might work, you can ask the hosting company to do that

Member Avatar for geordienz
0
102
Member Avatar for ANGanley

2 approaches 1. Add the logic for delete and update to your webservice and specify these via the datasource wizard 2. Add the update delete logic to your page class and handle the update and delete events of your datagrid in the page class

Member Avatar for sedgey
0
147
Member Avatar for TobbeK

in your global.asax [ICODE]public static string GlobalMethod = "example";[/ICODE] in your page class [ICODE]lblYourLable.Text = Global.GlobalMethod;[/ICODE] if your Global.asax.cs has a namespace then use: [ICODE]YourNamespaceName.Global.GlobalMethod[/ICODE]

Member Avatar for sedgey
0
124
Member Avatar for chombe

you are right it is tedious to read through it! my suggestions, the sql error appears to be a problem with the syntax of the inline queries you have specified for your SqlDataSources, more specifically something near a ']' you don't actually need the [] around column names unless the …

Member Avatar for chombe
0
704
Member Avatar for cyankahn

I am presuming you are using a SQL database here, so why not create a fulltext index for the fields you want to query. Then use 'contains' to search the fulltext index. Any other way will involve table scanning multiple fields with a 'like' statement which just isnt cost effective …

Member Avatar for sedgey
0
72
Member Avatar for gilmarP

If I understand your question correctly you would have to make the text property of the textbox public to access it from an external class. Using FindControl, especially in the context of an entire page, is not recommended as it is a recursive operation and resource intensive. I would only …

Member Avatar for gilmarP
0
91
Member Avatar for julseypart

Use execute scalar as it returns the value of first row of the first column of the result set like so: [ICODE] string result = (string) myFileCommand.ExecuteScalar(); lblTotalSpaceUsed.Text = result; [/ICODE]

Member Avatar for julseypart
0
99
Member Avatar for chombe

Totally agree with Fungus1487, it's not worth the headache writing your own, we use the telerik rad editor but the suite is expensive and probably overkill for decorating text. One other thing though, if the project isn't commercial, why not use community server? It does all the forum stuff and …

Member Avatar for sedgey
0
142
Member Avatar for julseypart

your first post seemed to have you pointing in the right direction, and the error message tells you what you need to do. If you do not have access to the server directly then you need to ask the server admin to configure your folder as an application in IIS. …

Member Avatar for julseypart
0
129
Member Avatar for brightline

Scott Gu's blog has a great article on linq to sql which includes examples of executing stored procs. [URL="http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx"]http://weblogs.asp.net/scottgu/archive/2007/08/16/linq-to-sql-part-6-retrieving-data-using-stored-procedures.aspx[/URL]

Member Avatar for sedgey
0
112
Member Avatar for ben2008

Suggestion: 1. Add a property to your page [ICODE] private int _tabIndex; public string TabIndex { [INDENT] get { return _tabIndex; } set { _tabIndex = value; } [/INDENT] } [/ICODE] 2. Handle the ActiveTabChanged of your event TabContainer and update your poperty with the tabID of the new tab …

Member Avatar for ben2008
0
85
Member Avatar for sierrasoft

Why not use the google ajax language api [URL="http://code.google.com/apis/ajaxlanguage/"]http://code.google.com/apis/ajaxlanguage/[/URL]

Member Avatar for sedgey
0
105

The End.