|
Ah, I was close. I was able to get this to work by doing this:
gridview2.Rows[0].Cells[2].BorderColor = System.Drawing.Color.Blue;
"You're damned if you do, and you're damned if you dont" - Bart Simpson
|
|
|
|
|
Hi friends,
I got a runtime error while browsing my website, the error is "check_content()" but i didnt write this script, in my local machine no error is there, but after publishing i got this error
|
|
|
|
|
Browse your site using Firefox and Firebug, and then you will be able to break into the method in question, or you will at least be able to see what code is trying to call it. Odds are it's a method that ASP.NET generates, you could google this too. Once you know where the method comes from, you will have enough info to do some research, or to ask a question that stands a chance of being answered, because you'll have something to ask us.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi christian,
I searched that error in google also, but didnt get any answer, the format of that error is like this check_content i found this error while cheching the webpage's view source code, only home contain this script error,I checked in firefox also ok... the website's address is quoteswanted.net
|
|
|
|
|
i am trying to get value of image from sql05 database through user control i am facing this
error written bellow
Input string was not in a correct format
what should i do????????
|
|
|
|
|
sajjadlashari wrote: Input string was not in a correct format
Error is saying properly that that string is not given correctly with the column format of database.
|
|
|
|
|
Hi,
I am writing a crawler like application, I want to set the Browser property as Crawler before making the request, So that, the Web server can identify my request as coming from a Crawler.
Specifically, I want to set the Browser Propery for HttpWebRequest.
Thanks,
Nagaraj
modified on Monday, December 15, 2008 11:49 PM
|
|
|
|
|
i am using ajax confrim button extender and i have attached it with a button
and on page there is a text box with requiredfield validator,
when i press button to save and text box is empty required field validator is invoked but the confirm button extender is also invoked i want to show confirm button extender when required field validator is inactive.
please guide how to solve it...
umerumerumer
modified on Monday, December 15, 2008 6:15 AM
|
|
|
|
|
Hi, I made a query for getting a data from a local database within the project folder, and my string was: @"Data Source=.\SQLEXPRESS;AttachDbFilename=" + Environment.CurrentDirectory + @"\App_Data\aspnetdb.mdf;Integrated Security=True; User Instance=True"
But, the problem is that the CurrentDirectory is pointing to "C:\\Program Files\\Microsoft Visual Studio 9.0\\Common7\\IDE" instead of the folder where is my project. What can be the issue?? Thx in advance, Laziale
|
|
|
|
|
laziale wrote: What can be the issue??
You are running a web application through cassini (Visual Studio's built in Web Server).
To get paths relative to your website use MapPath[^]
|
|
|
|
|
|
Environment.CurrentDirectory, is perfectly valid for Windows and console project.
But for ASP.net projects use 'Request.PhysicalApplicationPath', in the aspx.cs file.
If you are writing the code in class file in App_Code folder, then pass this as an argument from code page.
|
|
|
|
|
how can we use <input checkbox> tag in gridview without runat=server
k.sampath kumar
|
|
|
|
|
sampath09 wrote: how can we use tag in gridview without runat=server
What does it mean ?
You can add CheckBox inside gridview just simply using Adding Template Field.
|
|
|
|
|
Well, you need runat=server for the gridview, obviously. And just as obviously, you can emit any html you like without the server tag, inside the gridview. So, you need to better explain your issue.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Can we use datagridview in web application?
Thank you
|
|
|
|
|
Ofcourse.There is a Gridview control in ASP.NET.Check the link below
[^]">
Are you trying to Different Qs?
Cheers!!
Brij
|
|
|
|
|
yeah there is gridview control.
but there is diference between datagridview and gridview.
now i want to apply the same properties to girdview[webapplication]which i have applied to datagridview in window aplication.
Thank you
|
|
|
|
|
There is a namespace for ASP.NET controls, and one for windows forms controls. You cannot use windows forms controls in ASP.NET, but there are many grid controls in the ASP.NET namespace, which you can use.
Did you consider perhaps either trying it, or doing some sort of search before asking this question ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thank you for your reply.i have tried on this concept and after searching only i put the my query here
|
|
|
|
|
Hello everybody..
is there any aspx to pdf convertor or any other way to convert aspx page to pdf format...
|
|
|
|
|
meghamaharshi wrote: is there any aspx to pdf convertor or any other way to convert aspx page to pdf format...
Have you searched this forums? This question is getting asked almost daily.
|
|
|
|
|
thanks for reply..no i have not searched..
|
|
|
|
|
Well, isn't that typical ? If you want to be a programmer one day, you have to learn how to do some basic research.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
how to roll tables as in site of kelkoo
<a href="http://www.kelkoo.co.uk">www.kelkoo.co.uk</a>
|
|
|
|