|
DOn't add the solution file (sln) to VSS, you should only add the project file (csproj or vbproj).
|
|
|
|
|
In Visual Studio 2005 there is no project file for web applications, just solution file, so the problem must be other thing.
But thanks for the advice anyway.
|
|
|
|
|
If you have more than one project in the solution it does add the sln file to VSS when you use the "Add Solution to Source Control"
|
|
|
|
|
When we use 'add solution to source control' in VS2005 it automatically adds to source safe the needed files. For web applications there is just a solution file, not a project file, so if I don't add the solution file, my web application cannot be opened by other developers.
Maybe there's some tricky detail.
|
|
|
|
|
Hi. I am still having trouble with VS2005 websites and visual sourcesafe.
I created a new ASP.NET website for testing in 'C:\Projects\MyWebSite' and noticed there is two different options in the SourceControl menu:
- Add solution to source control
and
- Add web site to source control
When choosing the second option the solution file is not added to source safe, just the folders and aspx files. That's fine for me.
Then another developer entered source safe and 'get latest version' to his workstation. The website is copied without a solution file, so we need to create one.
And this is the point where we get stuck. We create a new empty web site and point it to 'C:\Projects\MyWebSite'. But after doing this the aspx files seem like they have lost the integration with source safe.
Can anyone give me a simple example on how to setup things to share a website in source safe?
Thank you very much.
|
|
|
|
|
The problem is on load of a page i have assigned a session variable.But while
using ajax when i come on the client side the session value is lost.
Can anyone please help me out . ITS VERY URGENT !!!
|
|
|
|
|
Hi,
use Hidden field instead of session.
|
|
|
|
|
could not do it with hidden field either.
can you please help me with the codes for hidden field .
what i did is
on server side
filenames.Value=(string)Request.QueryString["filename2"];
i am getting the value of Request.QueryString["filename2"]. But
getting the error like
System.NullReferenceException: Object reference not set to an instance of an object.
|
|
|
|
|
|
I am creating template columns at run time without using any control in item template .
But my requirement is to apply css on it. Css will put background image in this template column at runtime.
How can i do it.
Regards,
kamran
|
|
|
|
|
if i understand the problem :$
Panel panel = new Panel();
panel.Width = new Unit(100, UnitType.Percentage);
panel.Height = new Unit(100, UnitType.Percentage);
panel.CssClass = "css_class";
Height property may give you X browser problems.
hope that helps
g00fy
|
|
|
|
|
I want to execute a process on a client machine from a web page.
Like a batch file.
I tried it but it gives permission exception which is understandable.
But is there a way to execute a process on client system?
|
|
|
|
|
Simple answer is no. Would you want any webpage to be able execute a process on your system?
|
|
|
|
|
A way around it is to code up an OCX and let that do the work. Because it's installed, it's like a local app, and therefore has the correct priviledges
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I agree, just the way microsoft and some anti-virus sites do.
I can install an exe on the client system and then that client exe will do everything.
But the issue is how to make that exe work when we r on that site.
There has to be a communicartion between the exe and site.
If you are not clear what i said let me know.
|
|
|
|
|
no no - not an exe - an ActiveX control (ocx / dll)...
Then you can embed it on the page with the object tag, and access all public properties and methods.
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
I would like to put a HyperText field in my table that presents the "Name" field from my SQL database as its text but links to http://www.SomePage.aspx?id=[ID Field from selected row].
How would i achive this ?
Thanks.
|
|
|
|
|
template the column and use an asp:HyperLink and set its NavigateUrl and Text properties in your markup. or through the bindings dialog of the control.
regs,
g00fy.
|
|
|
|
|
But how do I go about getting the NavigateUrl to = the ID field of that row?.
i.e how do i format the contents of it so it doesnt just read it as an unformatted part of the URL?
What im looking for is the text I should use in the NavigateURL field/source to set each rows hyperlinkg field to the output ID retrived from from the database...
If you catch my drift ?
|
|
|
|
|
<asp:Hyperlink NavigationUrl=<%# Container.DataItem, string.format("{0}?id={1}}, "name", "id") %>
This isn't correct code but it should give you the idea.
-- modified at 11:21 Thursday 13th July, 2006
|
|
|
|
|
There are a couple of properties of the HyperLinkField class which you may want to check out: DataTextField, DataTextFormatString, DataNavigateUrlFields and DataNavigateUrlFormatString.
For more information, see HyperLinkField Members [^]
|
|
|
|
|
hello
i'm not able to find the "Web site identification tab" in My Application Properties Window in IIS Manager.
plz tell me the solution thanx
|
|
|
|
|
What property are you looking for?
|
|
|
|
|
hello
i want to set Host Header Names property.
i'm following these steps
In IIS console, open the properties for the web site that you want to
handle the names. In the "Web Site Identification" section there is an
"Advanced" button, that will open a window where you can add identities
for the site. The "Host Header Name" is where you put the subdomain
names.
or u can see on this link
http://support.microsoft.com/default.aspx?scid=kb;en-us;308163[^][^]
thanx
|
|
|
|
|
Hi all
Does anybody know how to code/create .net web apps and setup IIS with dynamic urls eg http://???.domain.com . An excelent example is http://yourname.youaremighty.com. just change "yourname".
Thx
|
|
|
|