|
Which Third party control do you want to embed ?
|
|
|
|
|
any best video conference tool..........
what i need is that user can use that vedio conference from website.
|
|
|
|
|
|
hi,
When i change source of page then designer appears empty as a blank page that no control added to, so i can't change any source ...
thnaks in advance
|
|
|
|
|
right click on page and select convert to webapplication. it will regerate your designer page
Regards
Keyur Satyadev
|
|
|
|
|
thanks , but on right click menu there is no item named convert to web application, this problem accours on user web controls,aspx pages runs normally
|
|
|
|
|
<a id="A1" name="SelectZip" href="javascript:void(0);" onclick="javascript:SelectZip('<%=txtvDemoZip.ClientID%>',
'<%=txtvDemoCity.ClientID %>','<%=txtvDemoState.ClientID %>');"style="vertical-align: middle; font-size: 10pt; color: #4878a9; font-family: Arial; cursor:hand;text-decoration: underline;">Zip</a>
<iframe src="../../../../asps/DummyPage.htm" name="frmzip" id="frmzip" frameborder="0" style="vertical-align: top; text-align: center; width: 0;" marginwidth="0" marginheight="0"scrolling="auto" height="0" tabindex="-1"></iframe>
function SelectZip(txtZipCode,txtCity,txtState)
{
if (document.getElementById(txtZipCode).value == "")
{
alert('Please Enter Zip Code.');
document.getElementById(txtZipCode).focus();
return;
}
else if(document.getElementById(txtZipCode).value.length <5 &&document.getElementById(txtZipCode).value.length > 0 )
{
alert('Please Enter Zip Code.');
document.getElementById(txtZipCode).focus();
return;
}
else
{
strZipp=document.all(txtZipCode).value;
strcity=document.all(txtCity).value;
strstate=document.all(txtState).value;
// document.all("frmzip").src = "frameZip.aspx?cri=" & strZipp & "&vstate=" & strstate & "&vcity=" & strcity & "&From=Registeration" & "&txtCity=" & txtCity & "&txtState=" & txtState;
document.getElementById('frmzip').src = "frameZip.aspx?cri=" + strZipp + "&vstate=" + strstate + "&vcity=" + strcity + "&From=Registeration" + "&txtCity=" + txtCity + "&txtState=" + txtState;
// window.frames("frmzip").location.href = "frameZip.aspx?cri=" + strZipp + "&vstate=" + strstate + "&vcity=" + strcity + "&From=Registeration" + "&txtCity=" + txtCity + "&txtState=" + txtState;
// var URL = "frameZip.aspx?cri=" + strZipp + "&vstate=" + strstate + "&vcity=" + strcity + "&From=Registeration" + "&txtCity=" + txtCity + "&txtState=" + txtState;
}
document.getElementById(txtZipCode).scrollIntoView(true);
}
you can see how many ways i have tried but none worked even i tried to call the function on Href but still no luck. when zip link is clicked it opens a popup which is iframe. it works in IE but firefox no luck yet. Help me out
thank you
Kamran Pervaiz
Asst. Software Engineer
|
|
|
|
|
IFrames are evil. Don't expect them to work in anything but IE.
The ASP.Net way to solve it would probably be something with a asp:Panel with appropriate CSS to layer it on top of everything possibly inside an asp:UpdatePanel. You could create your own, or you could implement the ModalPopupExtender from the Ajax Control Toolkit[^]
|
|
|
|
|
hi guys, do you know of any free sample/implementation of this in .aspx?
http://www.labsmedia.com/clickheat/index.html
http://www.clickdensity.com/
thanks for any info.
|
|
|
|
|
Hi,
i have browse locally in iis.
but it not getting to connect.
its showing error like...
"Failed to access IIS metabase"Yours,
KaNNaN
-----------------------------------------------------------------
"Success is When Ur Signature Becomes An Autograph"
|
|
|
|
|
KaNNaN.JC wrote: its showing error like...
"Failed to access IIS metabase"
I guess your Virtual diretory is not configured properly. Did you set ASP.NET Framework version in IIS for your virtual directory ?
If you are not able to find the proper framework version on IIS, then you need to run aspnet_regiis command to register it.
Thanks.
|
|
|
|
|
Hi
I've enabled my SQL SErver - 2005 for replication, that is i'm running 3 server out of which 1 is master rest all slaves. Now i want to tell my ASP.Net application always write in Master server and Read from rest of two servers? How to achieve it?
|
|
|
|
|
By using different connectionstring to connect to a different server, based on whether you are reading or writing.I are Troll
|
|
|
|
|
i am sending mail through smtp.it is working fine but problem is that when i refresh the page mail again be send.i don't want to send mail again when page will refresh.plz help me.............
this is my code
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.IO;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Page.Title = "Contact US";
txt_name.Focus();
lbl_status.Visible = false;
}
protected void btn_submit_Click(object sender, EventArgs e)
{
MailMessage mailMsg = new MailMessage("xyz@xyx.in","abc@abc.in");
string name = txt_name.Text.Trim();
string address = txt_add.Text.Trim();
string telnor = txt_telcr.Text.Trim() + "-" + txt_telnr.Text.Trim();
string telnoo = txt_telco.Text.Trim() + "-" + txt_telno.Text.Trim();
string faxno = txt_faxn.Text.Trim();
string mobileno = txt_mobile.Text.Trim();
string typeofwork = rdo_type.Text.Trim();
string query = list_query.Text.Trim();
string Email = Emailid.Text.Trim();
if (Email == "") { Email = "dummyforcheck@in.com"; }
mailMsg.Subject = name + " wants to contact us";
mailMsg.IsBodyHtml = true;
MailMessage mailMsgUser = new MailMessage("xyx@xyz.in", Email);
mailMsgUser.Subject =" Yoyr mail has been recived";
mailMsgUser.IsBodyHtml = true;
mailMsg.Body = "<b> Name :" + name + "<br/><b>Address :"
+ address + "<br/><b>Phone Number(R) :" + telnor + "<br/><b>Phone Number(O) :" + telnoo +
"<br/><b>Fax Number :" + faxno + "<br/><b>Mobile Number :" + mobileno + "<br/><b>Mobile Number :"
+ Email + "<br/><b>Type Of Work :" + typeofwork + "<br/><b>Query :" + query;
mailMsgUser.Body = "<b> Esteemed <br/><b> Dear </b>" + name + "<br/><br/><span style='margin-left:50px'> Thanks for contacting us. Our sales executive will contact you shoon.</span><br/><br/><br/><b>Thank you<br/>Royal Village Team.";
mailMsg.Priority = MailPriority.High;
mailMsgUser.Priority = MailPriority.High;
SmtpClient smtpclnt = new SmtpClient();
NetworkCredential nc = new NetworkCredential("xyx@xyz.in", "xyz");
smtpclnt.Host = "smtp.xyz.in";
smtpclnt.UseDefaultCredentials = false;
smtpclnt.Credentials = nc;
smtpclnt.EnableSsl = false;
try
{
smtpclnt.Send(mailMsg);
smtpclnt.Send(mailMsgUser);
lbl_status.Visible = true;
lbl_status.Text = "Thanks for contacting us.Our sales executive will contact you soon";
clearall();
}
catch(Exception ex)
{
lbl_status.Visible = true;
lbl_status.Text = "Oops! there may be problem in internet connection";
}
}
protected void btn_reset_Click(object sender, EventArgs e)
{
clearall();
}
protected void clearall()
{
txt_name.Text = "";
txt_add.Text = "";
txt_telcr.Text = "";
txt_telnr.Text = "";
txt_telco.Text = "";
txt_telno.Text = "";
txt_faxn.Text = "";
txt_mobile.Text = "";
rdo_type.Text = "";
list_query.Text = "";
Emailid.Text = "";
}
}
|
|
|
|
|
Sorry, but are you sure this is on click event?
because if you send email through on click event it should'nt run on page load.
unless this is onPrerender event.
I guess so...
|
|
|
|
|
Sorry, but are you sure this is on click event?
because if you send email through on click event it should'nt run on page load.
unless this is onPrerender event.
I guess so...
yes i am sure that this is on click event.
it is working correctly.
only problem is that after send mail when i refresh page it will again send the mail.
|
|
|
|
|
What exactly do you mean by "refresh"? If you mean you are hitting F5, that reloads the page exactly the same way you got to it including posted form values. That means clicking a button which does a postback and then hitting F5 causes the same exact postback as happened from the button. You could always add a hidden field on the page and in your button click check for a certain value and if that value is there don't send the message.
|
|
|
|
|
or use...
private void BtnSend_Click(... etc)
{
if (!IsPostBack)
{
}
} ... but anyway your problem is strange! i haven't seen any 'sending-mail on postback' problem! ok I hope it helps! good luck! ![Laugh | :laugh:](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_laugh.gif)
|
|
|
|
|
That wouldn't work. A button click event is always a postback. So wrapping the code for sending mail in !IsPostBack defeats the purpose.
|
|
|
|
|
Hello friends,
i have a html template and i want to change all the design through the dynamically change in CSS file of that page.
so please any one suggest me that how i can do it.
thanks in advance
|
|
|
|
|
Use Themes in asp.net
Google on "How to use Themes in asp.net".
This will help you.
<strong>Anurag Gandhi.</strong>
<a target="_blank" href="http://www.gandhisoft.com">http://www.gandhisoft.com</a>
Life is a computer program and every one is the programmer of his own life.
|
|
|
|
|
What kind of change and how dynamic? Are you talking about just switching between an established set of existing stylesheets? Are you talking about changing individual styles?
Themes can work if you just want a set of choices, but if you want something more dynamic than that you can create an aspx that outputs CSS and sets the Content-Type
protected override void OnInit(EventArgs e)
{
string backColor = SomeMethodToGetBackgroundColor();
string textColor = SomeMethodToGetTextColor();
string backImg = Foo();
Response.ContentType = "text/css";
string style = string.Format(@".myClass {{color:{1}; background-color{0}}}
.myOtherClass {{color:{1}; background-image:url({2}) }}
", backColor, textColor, backImg);
Response.Write(style);
Response.End();
}
|
|
|
|
|
hi,
How do I edit that textbox scroll bar.I want to change color, shape and back color its.
|
|
|
|
|
hi,
there are many options in the "style" property of the textbox,some of which are related to the scrollbar. check them and see if you find what you needSara, CAPM
|
|
|
|
|
Thanks,
but there isn't "style" property of the textbox.
|
|
|
|