|
Change onclick to onclientclick.
|
|
|
|
|
Thanx v much..
it worked..
|
|
|
|
|
Hi everyone.
I'm having an error in my application that is confusing me.
The error is this one:
Could not find a part of the path "C:\CrkBusinessplatform\Aplicacao\Publico\sistemas\ccs\CRK.Monitores\sistemas\ccs\CRK.Monitores\monitor_arquivos\xslt\ACCS001.xslt"
Here are the facts: The correct path would be C:\CrkBusinessplatform\Aplicacao\Publico\sistemas\ccs\CRK.Monitores\xslt\ACCS001.xslt -> A part of the path is coming twice.
The archive ACCS001 is in this correct path.
The code line of the error is like this:
xslt.Load(Page.Request.PhysicalApplicationPath+"/monitor_arquivos/xslt/ACCS001.xslt");
I'm using .NET 1.1 on IIS 6.
The folder CRK.Monitores is a virtual directory in IIS. So the code should return the right path, right?
Oh, one more thing. The DLL of this page is the same here and there(I have checked it). And the error does not occur here.
Thanks in advance.
|
|
|
|
|
Actually PhysicalApplicationPath returns the address of the base location. It returns the virtual directory address.
I recommend you to use
Server.MapPath() instead.. .
|
|
|
|
|
Hi,
I am developing website for online garment (clothing) store. I need to change the clothes(not color) of the person(control-image may be!) dynamically. for eg. he can be made to wear shirt and pants, shirt, pants and overcoat, suit, formals, etc.... I dont know where to start from. Is it possible in asp.net? Please help
|
|
|
|
|
Yes, its possible to change images dynamically in ASP.NET using JavaScript
Sounds like the lowest bidder won the contract.
only two letters away from being an asset
|
|
|
|
|
can u give me some examples where i can find them?
And what about bid? i dont have any idea.
thanks in advance
|
|
|
|
|
Try here[^], plenty of examples
only two letters away from being an asset
|
|
|
|
|
Mark Nischalke wrote: Sounds like the lowest bidder won the contract.
I do like that!
|
|
|
|
|
This is not an ASP.NET tool, but it looks really cool. View the demo and pay close attention to the ability for graphic images to have "layers". (Demo - Create New Layers and Mouseover Properties)
You could have a base model with no clothes on and "layer" new clothes on top of the base image.
I've never used it, but it looks cool.
http://www.xara.com/us/products/webdesigner/[^]
|
|
|
|
|
check if this helps
♫ 99 little bugs in the code,
99 bugs in the code
We fix a bug, compile it again
101 little bugs in the code ♫
|
|
|
|
|
Hi all,
I have a web form for registration. After enter required username, i need to check whether it is already using by another user. So i need to disable the remaining components on the page until the completion of the checking.
I would like to use Javascript. But no luck so far.
Can any body please help me?
|
|
|
|
|
Create modal effect by having a div, or other element, placed over top of the page. There are several examples of this but I think Netflix was the first to use it.
only two letters away from being an asset
|
|
|
|
|
Can you provide me a sample of this work?
|
|
|
|
|
|
Hello All,
I am using following hyperlink code to open a popup window using javascript.
<pre><a href="javascript:;" onClick="window.open('SearchBOM.aspx','myWin','scrollbars=yes,width=500,height=500,resizable=no');" >Search</a></pre>
I want to pass a querystring to SearchBOM.aspx page based on the value entered in a textbox.
How can i achieve this?
Thanks,
Nagendra.
|
|
|
|
|
Why dont you use a Session for this ?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I declared a session variable as follows but its not showing value in next page.
<%Session["strSearch"] = txtSearch.Text;%>
|
|
|
|
|
Why don't you do this on the Server Side ?
Session["strSearch"] = txtSearch.Text;
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
nagendrathecoder wrote: onClick="window.open('SearchBOM.aspx','myWin'
Use this
="window.open('SearchBOM.aspx?id=1&name=xyz','myWin'
You can create a variable called parameter and add you query string to this and use following code..
>="window.open('SearchBOM.aspx?" & parameter & "'" ,'myWin'
Be an Eagle, Sky is Yours.
|
|
|
|
|
|
Create a JavaScript function and use it.
<<a href=MyClickHandler...<br />
<br />
function MyClickHandler()<br />
{<br />
var url = 'SearchBOM.aspx?.....';<br />
window.open(.....)<br />
}
only two letters away from being an asset
|
|
|
|
|
I have to create a statement for each client from my application.I have a stored procedure that filters the transactions data for each client using say the client ID.Linking or executing the stored procedure is a method in my data access layer through to my business layer returning a datatable.I want my crystal report to be populated using this methods, so i can pass the client ID as a parameter. Please help.
ML Lingwati
|
|
|
|
|
I defined a enum as
public enum Access
{
Guest = 1,
Public = 2,
Center = 4,
Member = 8,
Trader = 16
}
there are 5 checkboxes in my asp.net page suppose user checked Guest and Center then Value of center and Guest i.e.(1+4=5) 5 will save in Database in integar field..
Now my Question is I am getting Value from database like
categoriesDTO.CatAccess = (Access)r["CategoryStatus"];
Now enum has value 5... So how can i check these 2 checkboxes of center and Guest
Thanx In advance
|
|
|
|
|
You cannot!
How you think you will make 5 into 4 and 1??? It could either be 2 and 3!!
Save comma separated values like 1,4 in database and then fetch, split and use them.
HTH
|
|
|
|