|
i have 5 emailIDs and i have a message send to all.
but mail has to send to all.
if any error occures in any email send then rollback to all mails
means mail sending should be send to all or not to any.
how can i handle this.
rajeev kumar sharma
vri software pvt. ltd.
new delhi India
|
|
|
|
|
I don't think you can have transactions in email. However, if your server and all recipients are Exchange, you have a RECALL feature to selectively retrieve back the emails that are sent.
|
|
|
|
|
Asalam-O-Alikum, how can i add a link for user to download a pdf file which exits in my Database
-- modified at 3:48 Tuesday 28th August, 2007
B asharatA li
Internee
METESYS Lahore
Pakistan
|
|
|
|
|
You can link to an ASPX page with a unique ID. This unique ID can be used to read the object from database and stream down as a PDF file.
|
|
|
|
|
hi all,
Is it possible to have more than one web.config file in an asp.net application? if yes, which one will the application refer to when the application is executed?
What is the use of having more than one web.config files in an application? i mean in which circumstances should we go for more than one web.config file?
Thanks in advance.
Regards
Anuradha
|
|
|
|
|
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
|
|
|
|