|
Dear All,
I am working on web development i am using VS 3.5 when i was doing code then suddenly sever explorer disappear then i open view menu and click on server explorer to view it again no server explorer didn't appear i restart IDE and also system abut still its still not solved i am avoiding to install IDE complete if any suggestion you have then kindly tell me.
Please kindly do replay
Sajjad Ali
|
|
|
|
|
|
i need to remove browser toolbars when page onload.. eg. such as toolbar=no, statusbar=no
Dushan Perera
|
|
|
|
|
I don't believe you can do that, except in some older version of IE. They fixed it as it is a security issue.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
thanks for your reply Christian Graus and can u tell me what are the alternatives to do this..
Dushan Perera
|
|
|
|
|
I have a functionality in my code which uses crystal report object to create an excel report directly on the click of a button.
Firstly the aspx page runs which uses the crystal report object. Later this page closes and the Excel sheet opens.
But I have a problem here. On some machines the aspx page closes automatically. But on some other machines the aspx page remains until it is closed manually!!!
Can anybody please suggest me on what can be checked or done here??
|
|
|
|
|
In the aspx page, the report engine URL is Redirected with certain parameters for the Report Engine.
|
|
|
|
|
naveen678 wrote: On some machines the aspx page closes automatically. But on some other machines the aspx page remains until it is closed manually!!!
Might be some browser settings. Since it is controlled by browser, ASP.NET can't do anything.
|
|
|
|
|
I am using a CheckBoxList for convenience, as I have several. But I notice the CheckBoxList itself is the sender when one checkbox is clicked. So, how do I know which one was clicked?
Thanks.
|
|
|
|
|
Try SelectedItem property. Something like
checkBoxList1.SelectedItem
|
|
|
|
|
SelectedItem or SelectedIndex will tell us which are selected - but I want to know which one is clicked.
Any other idea?
Thanks.
Ekjon
modified on Thursday, December 18, 2008 12:41 AM
|
|
|
|
|
Hi all,
How to retrieve querystring value in td using asp.net.Please help.
Thanks.
|
|
|
|
|
What do you mean in td?
To receive a the value of the querys string you use Request.QueryString.Get(mystringid), where mystringid is the id of the querystring you want.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
First you can saveit in a hdden variable from querystring then you can access it in td as
<%=hdnval.Value%>
also
You can access querystring using javascript
Cheers!!
Brij
|
|
|
|
|
Sorry if this is a dumb question; I seem to remember running into this problem some time ago, and I can't remember what the answer was :
I am working on an old ASP.NET 2.0 website that uses C# codebehind files.
I have tried to make some very basic code changes (i.e. fixing a typo in a programmatic error message) on my local copy of the webapp, but my changes are not being recompiled into the DLL.
After making the change in the .cs page, I click Build>>Build Page for both the .aspx and .cs pages. Still, the changes do not appear when I run the site on the test/local server.
The .cs pages uses "Codebehind="productdetail.aspx.cs"", which VWD reminds me is "no longer supported". Will the DLL recompile ignore my changes unless I rename Codebehind to Src? Edit: I have done that, still no recognition.
I used to use inline code for ASP.NET pages, and recompiles never seemed to be a problem. Seperate code pages, however, are presenting these problems.
Thanks for any advice!
|
|
|
|
|
Are you perhaps building a release version and then debugging, so the debug version is run ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I have tried (re)building the website on my local machine with both debug="true" and debug="false". In either case, the minor message-text change I've made to the .cs codebehind file is not being recognized.
I've just noticed that there is an "obj" folder in the root containing Debug and Release folders - the Release folder has a bunch of .resources files and a "MyWebsite.csproj.FileListAbsolute.txt" file. I'm used to making stupid/simple changes to .aspx files with inline code... I need to read up on this method of deploying, as I have no idea what is going on here.
Edit: Aha, here are the MySite.csproj, MySite.publish, and MySite.sln files, as well as "User Options" files for the .sln and .proj files.
modified on Thursday, December 18, 2008 1:37 PM
|
|
|
|
|
I'll be damned, I never realized that I should just click on the ".sln" fil to open a web application project - I have always opened up projects as file systems. It compiles OK now.
In order to move changes to production, can I just
1. Change the Web.config so that
<compilation debug="false" batch="true" />
2. Build the project locally to compile the changes
3. Copy the local .DLL "brain" an dcopy it over the old DLL on the production server
...or is it trickier than this?
|
|
|
|
|
Hey guys, how's it going?
I've got this web site written in ASP .NET using AJAX components I'm hosting using IIS. The web site is accessing a database implemented with SQL Server 2000 SP4.
I ran it so far on one Windows 2003 Server station, and it ran perfectly. However, I installed it today on a different station and when I tried loading the site I got the above error message (which from what I understand from my searches so far is a pretty popular one).
Assuming my code works, since it runs fairly well on a certain station, I assume the problem is with the configuration or the lack of a certain component in the enviroment. Or maybe it IS with my code.. dunno..
Anyone got any clue what might be my problem?
Thanks a bunch,
LZ
|
|
|
|
|
The error means your code is poorly written. It's assuming a string is a date time, using Convert.ToDateTime or DateTime.Parse instead of DateTime.TryParse.
The actual issue could be the region setting of the server. It could even be that you're storing dates as strings in the DB, and the DB has them stored in one format and now the machine is trying to parse them in the other ( MM/DD or DD/MM )
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Thanks for the reply!
However, didn't really help... since I'm only storing DateTime in the DB, and the regional settings were the same on both stations...
Plus, even if it is a code problem, I want to figure out what's the configuration difference that caused this problem. Since, as mentioned, it works fairly well on most stations.
Thanks again,
LZ
|
|
|
|
|
Hello friends,
I have userid on facebook. i want to access emailid using by userid. please tell me.
|
|
|
|
|
This is not even remotely an ASP.NET question. It's also insane. Why would facebook allow anyone to get members private email addresses ?
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
hi ppl
i just want a clarification.
is it possible to import a dll file which was developed my vb.net in to a asp.net application?
self confidence+hard work=SUCCESS
|
|
|
|
|
You should be able to. ASP.NET can be coded in either VB.NET or C#. You'll have to add a reference to the .dll in your ASP.NET project.
MS Lee wrote: ppl
As a friendly suggestion, no text speak
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|