|
A Web application can contain more than one Web.config file. The settings in a file apply to the directory in which it's located, and all child directories. Web.config files in child directories take precedence over the settings that are specified in parent directories.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
thanks for your response.
Regards
Anuradha
|
|
|
|
|
A Web application can contain more than one Web.config file.
Web.config files in child directories take precedence over the settings that are specified in parent directory.
SSK.
|
|
|
|
|
hai ,
i need to findout the cityname using ipaddress...i got identify countryname using ipaddress through GeoIP webservice...But there no possibilty to findout the cityname....Any one know Is there any MSSQL database for citynames with related ipaddress ...This is urgent...
Thanks & Regards,
vidyasankar
pain gives gain
|
|
|
|
|
u know any command , if i click the close button , there should appear a dialog box , that ask u to make sure that u want u close the window.
or in java script using asp.net?
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
use confirm box in javascript.
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
can u provide some code that can be implemented in the code behind file.
thank you
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
you can simply do.
function closea()
{
window.close();
}
OR with comfirm box
function closea()
{
var a = window.confirm('Do you want to close this window');
if(a = true)
{
window.close();
}
}
call this function onclientclick event of button
<br />
<asp:Button ID="Button1" OnClientClick="closea()" runat="server" Text="Button" /> <br />
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
function getconfirm()
{
return confirm('Are you sure want to delete ');
}
Call this function in the onclick event of corresponding button in source code.
|
|
|
|
|
I am by no means expert but I believe that if an email has reached its inbox then it cannot be retrieved and taken away.
Hope others can confirm this.
Thanks a lot
Chris
|
|
|
|
|
Dear All,
I am using the gridview to display a list equipment from database. One of the columns in the database is manufacturer_url. Now I want the data in this field to be displayed as a hyperlink in gridview and when clicked it opens a pop up window.
Is there a way to do this by incorporating the javascript:open or any other way?
Thank you very much for your great help!
Chris Farrugi
|
|
|
|
|
Use the following code for popUp in <asp:TemplateField><ItemTemplate>
and use <a> tag rather than Hyperlink...
<asp:TemplateField>
<ItemTemplate>
<a href="javascript:winOpen('<%# "AssociateContactsPopUp.aspx?Code=" + Eval(Server.UrlEncode("YourKey").ToString()) %>')" style="color:Maroon" >View Profile</a>
</ItemTemplate>
</asp:TemplateField>
now goto your popup window page_load event and get the above "YourKey" from QueryString. and do that what yuo want to your popup window.Fetch records from the DB by above define "YourKey"......
and write the following Jscript function into ur girdview aspx page:
<code><script language="javascript" type="text/javascript">
function winOpen(URL)
{
window.open(URL, 'Default','width=550,height=520,toolbar=no,
location=no,directories=no,status=no,menubar=no,scrollbars=yes,
copyhistory=yes,resizable=no,left=250,top=100,screenX=0,screenY=0');
}
</script></code>
-- modified at 2:05 Tuesday 28th August, 2007
-- modified at 2:07 Tuesday 28th August, 2007
-- modified at 2:20 Tuesday 28th August, 2007
Deepak
Smile a Lots,Its Costs Nothing
-- modified at 2:21 Tuesday 28th August, 2007
|
|
|
|
|
Thank you for your reply!
So let me see if i understod you correctly.
1. Which tag do I use in the gridview columns. The hyperlink ?
2. So I get the identity of the row and then pass it to another aspx page and from there i retrieve the id from querystring and perform the window operations from that page.
Thank you very much
Chris
|
|
|
|
|
i already posted for that but i can't able to show u HTML tags in this text editor.. i m trying for that....if u hav tricks for how i can write the html in this text editor thn tell me...
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
In the text editor there is a checkbox...exlucde html tags or something like that.
Thanks a lot.
Chris
|
|
|
|
|
do like..
to open popup window
Response.Write("window.open('[Path]',null,'left=150, top=150, height=320, width= 620, status= no, resizable= no, scrollbars= no, toolbar= no,location= no, menubar= no');");
do this in rowcommand event of gridview on click of ur hyperlink.
ChrisFarrugia wrote: I want the data in this field to be displayed as a hyperlink in gridview
to do this simply use Eval("[ur field name from db]") and bind it to ur hyperlink
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">Amit.Amit.Amit..... wrote:</div>ChrisFarrugia wrote:
I want the data in this field to be displayed as a hyperlink in gridview
to do this simply use Eval("[ur field name from db]") and bind it to ur hyperlink</blockquote>
But that wont open a hyperlink. That just displays the link and when clicked it redirects to that page. My problem is how to bind the data from db to a hyperlink BUT when clicked it opens a popup window.
Thank you a lot for your great help,
Chris
|
|
|
|
|
dont use hyperlink.
use linkbutton so that u will get in rowcommand event after clicking to linkbutton.dont forget to set commandname property of linkbutton.
Amit Metkar
3i-infotech, Mumbai.
|
|
|
|
|
Thanks a lot for your help!
I will try it out today and let you know
Should you need any help in future contact me.
Thanks
Chris
|
|
|
|
|
how to use detaiview and gridview? am using c#.. can validation be added to this control?
kaaj
|
|
|
|
|
Can u expalin wat do u want exctly?
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
i have already created my database and have linked it to my detailsview. it displays all my records in the detailsview, but i cant insert. i have an error which states: Ora-01722. i cant understand the problem.
|
|
|
|
|
hi,
i want to display a image in a webpage,by saving the image path in the sql server 2000. i dont know how to do.please help me
jai prakash
|
|
|
|
|
Please don't ask the same question over and over. If you don't know enough about web pages to know what an img tag is, or indeed the ASP.NET equivelant control, then you should stop working, buy a book and work through it.
Or you could try responding to advice by looking for keywords to type into google
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
This is a truly beginner question. It is the abc of web development.
well all you need is to save the path in the sql database. using the insert statement. You can do this either by a direct sql statement or by using a stored procedure. all sql commans are available in the Sqlclient namspace.
Then all it takes is to read the stored url from the database and put it as the imageurl of either an image tag (html) or an imageplaceholder tag (asp.net)
I suggest that you get a good book in order to get this basic information.
Should you need any help contact me.
Chris
|
|
|
|