I am using a CompareValidator to check user input on one of my forms but for some reason it will not allow me to enter a dollar sign.
According to MSDN the currency data type in the compare validator allows:
A decimal data type that can contain
currency symbols.
I am using the control below to validate:
<asp:CompareValidator I...
Hey Guys,
I am looking to dynamically rewrite urls in asp.net C#.
I want to read the page name from the database and process the request.
For example
PAGENAME: Home
.NETPAGE: Default.aspx?page=1
I think it is possible, can someone point me to right direction.
...
My webservice doesn't render when I add the following to the web.config:
<system.runtime.caching>
<memoryCache>
<namedCaches>
<add name="testNamedCache"
cacheMemoryLimitMegabytes="0"
physicalMemoryLimitPercentage="0"
pollingInterval="00:01:00" />
</namedCaches>
</memory...
I have a asp.net web site, I would like a page on that site to be able to invoke a Windows Scheduled task or a batch file on a server different to the IIS server?
Is it possible?
How should I do this?
...
How do I go about sending fax in .NET? We have a fax server through which we need to fax documents to clients. Since we have a fax server, I don't imagine that I have to configure a fax modem on my machine, right? It would just go through the fax server?
Are there any good free (or cheap) Fax APIs out there? IN my research I've come a...
Does anyone have any good examples of how to make Unity 1.2 or 2.0 work with ASP.NET WebForms?
I thought I had this figured out, but evidently I'm missing something. Now I'm getting the error; "No parameterless constructor defined for this object". I remember getting this error a couple years ago, I and just don't remember what I di...
Hi folks, I have a bunch of asmx web services, and in all the methods inside the webservices follow a common pattern
public virtual TestObject Test()
{
LogRequest;
try
{
DoSomething;
}
catch
{
LogException;
}
LogResponse;
return response;
}
and all the methods follow this pattern, there is a lot o...
Hello Everybody,
I'm working on asp.net application.And i'm looking for a way to show a link over a textarea when a user try to add a comment if the user is not loggd in.
I've got this idea from Youtube videos comments.If ur not coonected,they show a link saying u have to login to be able to add a comment.
Does anyone has an idea how ...
public ActionResult RenderMyThing(IList<String> strings)
{
return View("RenderMyView");
}
How do I pass in strings?
routes.MapRoute("MyRoute", "RenderMyThing.aspx", new { controller = "My", action = "RenderMyThing" });
Is there a way I could pass in strings here?
Secondly, how does ASP.NET MVC know that ...
I know it can be simple to access a mysql or sql database on godaddy.. i have done it before, but now i have lost the code. Now the code that should be working just comes up with a security exception.
So how do i create a asp or aspx file on my godaddy free hosting account that will connect to a database i have already set up (mysql,sql...
Hi,
I am using ASP.NET repeater and I want to display No Row Found message when query return 0 rows from database. I know its there in GridView.
Regards
...
I have a Sql Server 2008 Express database file that's currently being used by an ASP.NET application, and I'm not sure how to query the database without taking the website down.
I'm unable to copy the database files (.mdf and .ldf files) to another directory, since they're in use by the web server. Also, if I attach the databases to an...
My colleagues have create a website and there is a webpage which contains a Tab.
He Implement the tab with the following method:
1.Load all content of the page
2.Use javascript to display those group content as block and organize them into tabs.
3.when user click one tab, then acitve it, and hide all other tabs.
And these functions...
Hi Guys,
I have a requirement by which I need to have something like below as the background of my asp.net menu item background.
NOTE: The menu is populated by sitemapdatasource which is dynamic depending on querystring.
I was doing some googling up and found that I can apply JQuery's rounded corner functionality along with asp.net m...
Hello guys I have a function inside a utility class which returns the current session User ID.
It throws object reference not set to instance of object ? How do I check it for null & remove this error ?
public static string GetSessionUserID
{
get
{
string userID = "";
if (System.Web.HttpContext.Current.Session["u...
i have created asp.net web application which use Crystal report 2008. Now i want to publish this project. i have installed full version of Crystal report 2008 on server. And all works good. But my bosh does not want Full Crystal Report 2008 to be installed on server.
now my question: what i can do?
Thanks
...
Hi,
I am creating the user ,using asp.net + C#.there is the form (UI) who collects the information and send data to Business layer. now, while collecting the information from UI I want to also save the image of user, at file system in application domain.
There is function in the business layer as SaveImage, which returns the path where ...
Using asp.net MVC in c#, I am making a call to a stored procedure using Linq into my SQL Members table. I have no internal caching on the application, already checked to make sure it is turned off.
Test case:
I have my username set to test1. From the website I change my username to test2. The website still shows test1. I go to Mana...
Hi, I found out this article I would like share with you.
http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices
http://stackoverflow.com/questions/642759/naming-convention-for-controls
Regarding name conventions for "Controls on Forms", I thought to use this:
ux-Description-GeneralType
Example:...
Hi,
I have hosted a site in a shared server, let me call as Server-X.
My domain (ie. www.examplesite.com) is from another server, called Server-Y.
I have changes the name server of my domain to point to the server-X. So that my website is alive and I can access the database and all works fine.
The problem is it is showing that the si...