|
Got it working, had to change the applicationpool from default to dotnet2
No matter how long he who laughs last laughs, he who laughs first has a head start!
|
|
|
|
|
Hi All,
Allow date selection to begin only at the current date (today) and not allow (disable) selection of any of the days in the Field prior to today?
can you help me.
thanks in advance...
|
|
|
|
|
Hi All,
I have this problem that i could not solve for two days.I have tried to google and only with No luck.
I have tried to get the WEBDEV.WEBSERVER.exe file from a working machine.I have also tried to stop and start IIS.
However the error still comes Up. I am Running windows Xp.
Is there anything i can do please? Your help is much appreciated.
Thank you
modified on Tuesday, May 13, 2008 7:51 AM
|
|
|
|
|
If you are trying to debug your application and unable to connect to the web host server. Check if all the sessions are visible in the process window. Make sure you have set Debug="True" in the web.config file.
Finally cross check if you are running a website and have admin previleges.
|
|
|
|
|
Thank you very Much for your help.Its much appreciated.
I logged in as an Administrator and checked the Debug is set to true.I cant even run a page with out debuggig mode.
Its really a problem.Could you please advice me further???
Regards
|
|
|
|
|
hi guys
I have 2 gridview inside multiview controls.2 radio buttons
I want that one clicking on 1st radio button it shud show 1st gridview , one clicking 2nd radio button it shud show 2nd gridview.
on page load 1st radio button shud b selected and 1st gridview shud show.
I need javascript
with regards
ajay
|
|
|
|
|
|
hi guys
I have 2 gridview inside multiview controls.2 radio buttons
I want that one clicking on 1st radio button it shud show 1st gridview , one clicking 2nd radio button it shud show 2nd gridview.
on page load 1st radio button shud b selected and 1st gridview shud show.
I need javascript
with regards
ajay
|
|
|
|
|
Grid view gets rendered as table. Get the ID of the rendered gridview and in the onclick event of the radio button set the 'display' attribute of the table to none or block...use javascript to do this
.....
|
|
|
|
|
can we use remoting through java script?
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
You can make AJAX calls via javascript.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
In my ASP .Net web application, the customer has the following requirement. Whenever user tries to close the browser by using the X at the top (the hard close), I want to throw a message popup to user saying that they have not logged out of the application. Are you sure to close? And I want to give them Yes/No options so that if they click on yes, I will let them close otherwise the browser stays open. How can I acheive this?
|
|
|
|
|
check this...[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
|
|
|
|
|
follow the steps
step1 - In HTML body tag add event onbeforeunload = "CloseX();"
step2 - In HTML header tag add the following Script function.
function CloseX()
{
if(event.clientY < 0 && event.clientX > 100)
{
event.returnValue = "Are you sure to close window?";
}
}
If you use master page add these two steps to master page only.
smile
|
|
|
|
|
Hi Friends
Two days back i have posted a question regarding connectivity of sql server with asp.net..
for a refresh : when i add sql server DB a error comes ..regarding improper working of sql
so i downloaded MDAC still problem exists ..
* Sql works fantastic never a error came *
Its only with one of my PC ..
Please advice me what to do ..
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Did you tell us what the specific error was, last time ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
yes i did and You have suggested to install MDAC
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Hi all,
I am displaying a list of Image thumbnails in a datalist control.
I'm creating the data souce in codebehind (C#) then binding it to my datalist.
The datasource is retieving a list of thumbnail names (strings) from my SQL dB.
This is roughly what my ItemTemplate looks like:(It works fine in IE)
<ItemTemplate>
<a href="linktomypage">
<img src="..\image\<%# DataBinder.Eval(Container.DataItem, "ImageThumbStr") %>" alt="" border="0" />
</a><br />
</ItemTemplate>
This dislays the image as intended in IE but in Firefox, Opera etc. it displays no image. If I put just the text in there (no img tag) it displays that fine.
When I view source code in FF it shows in there the completed img tag with the correct path, but nothing appears on the page?
Is there something obvious I am missing? The databiding for the control is happening on page load.
Any help would be much appreciated.
Many thanks in advance.
Mark
|
|
|
|
|
Try displaying the image outside of the link tags and see if that works
|
|
|
|
|
Yes,
I have tried that and got the same result, I have tried doing it ousite of the Datalis too in an ASP:Image tag. The image needs to be written to a control from the codebehind idealy.
If you have any suggestions it would be appreciated, I shall keep looking, just hope its not me being stupid...
Mark
|
|
|
|
|
Also change this;
markymark82 wrote: "..\image\
to ../image/
|
|
|
|
|
This is why I don't like IE trying to be clever.
Nail on the head, thanks very much
Mark
|
|
|
|
|
i download the source file of "ImportExportCSV_src" from codeproject and run this coding to import my excel to sql server. its working fine. but the thing is, i have a description column and user will enter more than 2000 characters. when i m importing, only 255 characters are uploading to the database (i declared in database as nvarchar and length 3000). whats the problem? how to resolve it? - KARAN
coding :
DataColumnCollection tableColumns = dsCSV.Tables[0].Columns;
DataRowCollection tableRows = dsCSV.Tables[0].Rows;
OpenConnection();
foreach (DataRow row in tableRows)
{
primary_key = row.ItemArray[1].ToString();
string sqlinsert = "INSERT INTO " + strTableName + "(";
string sqlvalues = "VALUES (";
object[] rowItems = row.ItemArray;
int ctrColumn = 0;
foreach (DataColumn dc in tableColumns)
{
if (ctrColumn < tableColumns.Count)
sqlinsert += "[" + dc.ColumnName.ToString() + "]" + ",";
if (ctrColumn < tableColumns.Count)
sqlvalues += "'" + rowItems[ctrColumn].ToString().Replace("'", "''") + "',";
ctrColumn++;
}
sqlinsert = sqlinsert + sqlvalues;
cmd = new SqlCommand(sqlinsert, conn);
try
{
rowscreated += cmd.ExecuteNonQuery();
strreturn = rowscreated.ToString();
}
catch (SqlException ae)
{
textbox1.Text=ae.ToString();
}
cmd.Dispose();
}
CloseConnection();
the thing is, when i check the row value (row.ItemArray) it can hold only 255 characters. so i cant upload the full 2000 characters. how to proceed this? help me ! - KARAN
|
|
|
|
|
I m using javascript in my project for certain actions ,...
now i dont want to show my javascript to all....
hoe can i hide js file?
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
You can link to it in your page instead of putting script in your page, but if the file is not available to an end user, then they can't use it. So, you cann't hide it.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|