|
IIS6.0 will not support extension-less URL rewriting. When you run from VS, all requests are processed by ASP.NET engine and extension-less URLs will work. In IIS, this is not the case. IIS7.0 allows you to do extension-less URL rewriting though.
|
|
|
|
|
You can use Filemon to see what the page is actually looking for:
http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx[^]
You can filter the output for the particular worker process that your website is in. Good luck!
Ranjit Viswakumar
Professional Services Specialist
http://hostmysite.com/?utm_source=bb
|
|
|
|
|
|
Hello,
VS2008-C#-linq
I'm trying to create a news system website. I have a table with 6 columns:
id-int | name -text | description -text | details - text | date - date | picture - image
I want it to look like this http://money.cnn.com/news/ - the first news on the site.
The picture in the right and in it's left: from up to bottom: name/date/description.
The description will be a hyperlink to a form where i will display the details.
I have managed to create an image object and fill it with the proper image. I don't know
how to do the rest: display everything in the order i want.
The code so far:
DataClasses1DataContext db = new DataClasses1DataContext();
var date = from c in db.test1s
select c;
foreach (test1 a in date)
{
Image Photo = new Image();
Photo.ImageUrl="Work.aspx?ID="+a.id;
}
where test1 is the table.
Can someone tell me how to do the rest?
|
|
|
|
|
radupopescu777 wrote: Can someone tell me how to do the rest?
That is too much for a forum post. You can use a repeater control to design the layout which you have specified. Repeater provides great control over the rendered HTML.
|
|
|
|
|
Hello,
does anybody of you know if there is the possibility (e. g. through third party plug ins) of enabling Visual Studio 2008 to use code snippets in .aspx files?
I know how to use them in vb.net files (and cs and xml) but VS doesn't seem to be able to do this in aspx files(ctrl-k,ctrl-c gives a negative response). All my searches have only led me to sites / tools (Snippet Designer etc) which covered only the other languages.
Is there a way? I haven't found one but maybe some member of this forum may know of a possibility?
Thanks in advance
|
|
|
|
|
As far as I know, I don't think you can use snippet in aspx file. Yeah but in VS 2010 IDE you will be able to use code snippets in aspx.
|
|
|
|
|
Is this an announced feature?
|
|
|
|
|
|
|
I see the checknum javascript function defined but not called from anywhere in the code. And also I don't see any onkeypress or onkeydown event handler. If you don't call the function, how it is supposed to work
|
|
|
|
|
Hi,
How could I force all tags of a type (e.g. div) apply a setting with any class that was declared for them?
Best wishes
|
|
|
|
|
Just declare div in your style sheet-
div
{
font-size: 12pt;
}
Good luck!
Ranjit Viswakumar
Professional Services Specialist
http://hostmysite.com/?utm_source=bb
|
|
|
|
|
you need classes like
a
{
...the style elements...
}
table
{
...the style elements...
}
it needs to be in the .css file
if thats now what you are looking for.. just type a class in the .css .. something like:
.classname
{
...the style elements...
}
after that in the html(asp.net) code use code like:
<div class="classname">
... content ...
</div>
hope it's useful
modified on Sunday, February 8, 2009 4:16 PM
|
|
|
|
|
Hi mehrdad.
Use some like this:
div
{
color:#ff33cc;
....
}
Or you want to assign any class that contains "div" name??!!
sepel
|
|
|
|
|
Hi Experts,
I m using crystal reports in ASP project..
but I do not know
"How to use functions in Crystal Report................"
plz help me..
I m waitng for ur valuable reply....
Thanx ,
Abhi
|
|
|
|
|
Abhi James wrote: How to use functions in Crystal Report................
Google[^] not working for you?
|
|
|
|
|
What type of function Do you want to use?
crystal report function or you're own function??
sepel
|
|
|
|
|
hello respected sir,
i have one datalist with some record.and also i have one preview button in datalist. now when i click on that preview button one hide div open with some image which are in releted to that record with some detail of that record.
display image in like one format as previous button then image then next button so when i click on that next button change image.
thanks in advance..
|
|
|
|
|
Hi,
I've built a page that has a GridView using an ObjectDataSource to display data, in pages of 30 rows per page.
The table that's being paged has 26,000 values, and since it's very hard to find a certain value by going one page after
another I'd like to add a search option to the gridview. I've tried switching my datasource from the ObjectDataSource
to a method that retrieves a DataSet with the search results, but that way I can't use the edit or delete buttons and
I will have to implement the RowDeleting and such, and that's too much of a hussle.
What I'm looking for is a way to search through the ObjectDataSource, is it possible? Or would I have to build another
DataSource and keep switching from one to another when searching/viewing all values?
I hope I'm clear.
Thanks
|
|
|
|
|
There is a workaround to do this is by setting "DefaultValue" of the "SelectParameters" of your object datasource. This depends on how and what u r calling exaclty
Best Regards
3ala2
|
|
|
|
|
Works! Thanks
|
|
|
|
|
how to save a ppt file in database and retrive it and execute?
|
|
|
|
|
You have to store your file in a BLOB field. Have a look at this link:
http://www.codeproject.com/KB/database/Store_and_manipulat_BLOBs.aspx[^].
To run powerpoint with the ppt-file, just start a process (System.Diagnostics.Process) with passing the name of the ppt-file (you have to store it first on the disk). Windows will know that for ppt-files Powerpoint must be opened. That should work.
Regards
Sebastian
|
|
|
|
|
Hi all,
Whn im tryin gto run a web application im getting the error pop up "unable to start debugging on the web server.Server side error occured on sending debug http request"
CAn anybody help me to solve the same
Thanks
|
|
|
|