|
I keep getting the error:
Could not load file or assembly 'Validators, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
I incorperated a dll as suggested by http://blogs.msdn.com/mattgi/archive/2007/01/23/asp-net-ajax-validators.aspx[^]
It works locally, but on the server it can't find the DLL. I've triple checked, and it's on the server in the bin directory. Everything is set up exactly as it is locally. *shrug*
|
|
|
|
|
|
AJAX is installed. It's a problem with the validators dll specifically.
|
|
|
|
|
Let's be clear here, you're not installing AJAX, you're installing a library that uses AJAX.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Both. I'm using (or trying to use) a library that solved an issue I was having with the AJAX validator controls. I'm also using other AJAX controls.
|
|
|
|
|
|
nemo wrote: Or is there a better way to do this?
Whell, there is.
Use VS2005, and look in menu and find Publish Site or something.
Dont know where exactly, because i am not on my computer now.
|
|
|
|
|
Hi,
I am trying to create a setup program to deploy a .net 2 web app. When I right-click on the setup project and then go Add -> Project Output, I only see "Content Files" in the Add Project Output Group dialog box. Why do I not see the other options like "Primary output".
Any help would be greatly appreciated. Thanks in advance.
Regards,
|
|
|
|
|
How can I know if the form view is displaying the empty data template? or How can I display the insertdatatemplate anyway.
BiG RaLpH
|
|
|
|
|
i can create session objects that will end when the user logs out. those pages will not be accessible anymore unless the user logs back in. but if the user clicks the 'Back' button at the toolbar, the last page will display even though the user has logged out. how i can prevvent the user from accessing the pages by clicking the 'Back' button after he has logged out.
only4pato
|
|
|
|
|
You have to set the cache to no-cache and expire the page, e.g. use the following code for every page:
Response.ExpiresAbsolute = DateTime.Now.AddDays(-1)
Response.Expires = -500
Response.CacheControl = "no-cache"
-----
|
|
|
|
|
MSDN Library:
"The Expires, ExpiresAbsolute and CacheControl properties have been deprecated in favor of the methods of the HttpCachePolicy class available through the Cache intrinsic object to control the IIS output cache and client caches."
Use this instead:
Response.Cache.SetExpires(DateTime.Now.AddDays(-1))<br />
Response.Cache.SetCacheability(HttpCacheability.NoCache)
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Hi,
I am generating barcodes in the web application.I save this as an image.
how can i print this through the Web Application, with appropriate paper settings.
Also i wanted to know if any one has worked on Avery Dennison Printers.
Thanks
Renu
Renu.K
|
|
|
|
|
You can specify css has to be used for print in the link tag. Also, css can specify units maybe that can help.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
Hi All,
I have one stored procedure which returns 2 tables.I m using Sqldatasource to bind gridview but sqldatasource binds only first table's data. but i want to access second table also, so give some advise.
Thanks in advace,
Rana k.j.
|
|
|
|
|
Well, datasource property take only 1 table. It seems that you have some kind of parent child grid. In that case you have to add a relation between two tables. And on rowdatabound you will have to get the child control from the grid and bind the child control by getting the child records by createchildview command. If you don't have parent child grid then you need to have all data in one table. You can merge tables before biding the grid or you can get one table from the stored procedure using the union command.
-----
|
|
|
|
|
Hello Mr. SABhatti,
Thank u very much for reply.
well as i write in my previous post that i write one stored procedure which returns two tables. First table binds to gridview and second table's fields values assign to different different labels in my page. There is no relation between this two table.
Rana k.j.
|
|
|
|
|
if you just want to access the second table in dataset you can do that like dataset.Tables[1].Rows...
-----
|
|
|
|
|
1. Here I used master page.In that master page when I click on any hyperlink the total page is refreshing I dont want like that.
2.When I select any item in dropdownlist then also the page is refreshing I dont want like.
Is there any solution to come out from this problem.
Regards
T H kishore
|
|
|
|
|
kishoregani wrote: Here I used master page.In that master page when I click on any hyperlink the total page is refreshing I dont want like that.
You can't change the default behavior of a link. When a link is clicked, browser will move to the specified location.
kishoregani wrote: .When I select any item in dropdownlist then also the page is refreshing I dont want like.
Set AutoPostBack=false for the control
|
|
|
|
|
You can use a span in the place of a link with a style of underline and use the javascript onclick even to handle the click.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
In the site I have a file to store an integer.In a asp.net page I have I read this file and let the user create a record in the database table and after addition the integer in the file is increased by one. I need the integer stored in table to be unique. What I worry about is if multiple users open the same page and both will have the same integer(read from file). Should I use lock for the file ? What is your recommendations ??
|
|
|
|
|
If you only want the id in the database table to be unique, that's best handled in the database.
Set the field in the database to be identity , counter or auto_increment , depending on the database you are using.
After you have create the record in the database, you can get the identity that was created, for example using "select scope_identity()" if you are using MS SQL Server.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
Guffa wrote: Set the field in the database to be identity
My table already has an identity column. is it possible to create two identity columns for a table ?
|
|
|
|
|
No.
Create a new table with just an identity field, and use that to create unique values, instead of trying to use a text file.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|