User Profile

Collapse

Profile Sidebar

Collapse
Saad Alam
Saad Alam
Last Activity: Nov 2 '08, 01:45 PM
Joined: Oct 25 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • When you will run the website first time "F5". VS will ask you do want to create the web.config. Just press yes and the web.config will be created.
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic this.setHomepage does not works in FireFox

    this.setHomepage does not works in FireFox

    Hi,

    I have added a link in my page that will make my site home page in users browser.

    [HTML]<a class="makefeah ome" onClick="this.s tyle.behavior=' url(#default#ho mepage)'; this.setHomePag e('http://www.mySite.com' );" >Home</a>[/HTML]

    This works fine IE but it does not works in FireFox. What should I do? Plz Help....
    See more | Go to post
    Last edited by gits; Apr 23 '08, 07:07 PM. Reason: added code tags

  • Saad Alam
    replied to Html and JavaScript for all browsers
    Thanks drhowarddrfine and nomad. Now im testing on both FireFox 2.0 and IE 6.0 although its very time consuming and hectic. Is there is still chance that my web application wont work in IE 7.
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic Html and JavaScript for all browsers

    Html and JavaScript for all browsers

    Hi,

    I am developing a web application using asp.net 3.5 and testing in IE 6. I want to make sure that my html looks the same in all browsers and the javascript also performs same functionality in all browsers or at least in IE 6, IE 7 and FireFox2.0. How can i achieve this ?

    It would be very nice of you if u can provide me a link where comparison of html and javascript for most of the modern browsers is provided....
    See more | Go to post

  • Saad Alam
    replied to Div Scroll on MouseOver
    Thank you so much gits....
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic Div Scroll on MouseOver

    Div Scroll on MouseOver

    Hi,

    I am using a menu inside a div tag. What i want to do is to add scroll buttons (up and down ) along side div which move the div up and down on mouse over.How can i achieve this?

    It would be very nice of you if you can provide a link to the article or blog where solution is provided to my problem.

    Thanks in advance,
    Saad Alam
    See more | Go to post

  • Saad Alam
    started a topic Div Scroll on MouseOver

    Div Scroll on MouseOver

    Hi,

    I am using a menu inside a div tag. What i want to do is to add scroll buttons (up and down ) along side div which move the div up and down on mouse over.How can i achieve this?

    It would be very nice of you if you can provide a link to the article or blog where solution is provided to my problem.

    Thanks in advance,
    Saad Alam
    See more | Go to post

  • I hope this will work for you .It seems to me that you were not concatenating the string correctly.


    [CODE=javascript] <script type="text/javascript">
    k=1;
    document.write( "<table>");
    for (i = 1; i <= 16; i++) {
    document.write( "<tr>");
    ...
    See more | Go to post
    Last edited by gits; Jan 28 '08, 07:42 AM. Reason: added code tags

    Leave a comment:


  • It seems to me that you haven't set the gridview property ShowFooter = true. Please note that ShowFooter property is set to false in gridview by default.
    See more | Go to post

    Leave a comment:


  • Saad Alam
    replied to SMTP Mail issue
    in .NET
    Yes the server is same.Please tell me where to give ASPNET user rights to send mail.
    Thank for quick reply,
    See more | Go to post

    Leave a comment:


  • Saad Alam
    replied to SMTP Mail issue
    in .NET
    I dont think its firewall issue.If it was a firewall issue than it would not have worked in asp.net 2.0 and 1.1 windows application. I think its some rights issue but i dont know where to give rights.

    Plz help.
    Thanks
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic SMTP Mail issue
    in .NET

    SMTP Mail issue

    Hi,

    I want to send email using asp.net 1.1 with C# , my code is

    MailMessage msg=new MailMessage();
    msg.To=toaddres s;
    msg.From=fromad dress;
    msg.Subject="Te st";
    msg.Body="Test body";
    SmtpMail.SmtpSe rver=mySmtpServ er;
    SmtpMail.Send(m sg);

    The same code works in asp.net 2.0 and even in c# 1.1 windows application. But when I try...
    See more | Go to post

  • Saad Alam
    replied to Sending Emails
    in .NET
    I am facing the same problem if you get the solution than please do post it.
    Thanks.
    See more | Go to post

    Leave a comment:


  • Saad Alam
    replied to Could not Access CDO.Message
    in .NET
    Now i get this error


    System.Web.Http Exception: The transport failed to connect to the server.
    ---> System.Reflecti on.TargetInvoca tionException: Exception has been thrown by the target of an invocation. ---> System.Runtime. InteropServices .COMException (0x80040213): The transport failed to connect to the server.

    --- End of inner exception stack trace ---
    at System.RuntimeT ype.InvokeDispM ethod(String...
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic Could not Access CDO.Message
    in .NET

    Could not Access CDO.Message

    Hi,

    Im using Asp.net 1.1 with C#. I want to send email using System.Web.Mail

    My Code is

    [CODE=cpp]public void Send()
    {
    try
    {

    MailMessage mail = new MailMessage();
    mail.To = to_address;
    mail.From = from_address;
    mail.Subject = "Test";
    mail.Body = "Test Message";
    mail.BodyFormat = MailFormat.Html ;...
    See more | Go to post

  • Saad Alam
    replied to confirmation box in asp.net
    in .NET
    try this,

    if (confirm("Confi rmation Message."))
    {
    theForm.submit( );
    }
    else
    {
    code for No section;
    }

    Here theForm is the name of your Form
    See more | Go to post

    Leave a comment:


  • Saad Alam
    started a topic DataTable Complex problem
    in .NET

    DataTable Complex problem

    I am using asp.net 2.0 with C#.I have a DataTable which is something like this:

    Code Name Address

    There is no primary key. One code is repeated several times.What i want to do here is to create multiple tables from this DataTable on the basis of 'Code'(Field) that is for each unique Code a separate table.
    For example if i have a DataTable like this

    Code Name...
    See more | Go to post

  • Saad Alam
    replied to server side code
    in .NET
    Try this Im sure this will work,

    function set values()
    {
    document.getEle mentById('<%= hf_SaveChanges. ClientID%>').va lue = "1";
    }

    If you still get the error than plz specify what error are you getting.
    See more | Go to post

    Leave a comment:


  • Saad Alam
    replied to In Gridview - get ID of row
    in .NET
    First Set AutoGenerateDel eteButton property of gridview to true. Now you will have a link button at the end of each row in gridview. When this link button is clicked a rowdeleting event of gridview will be fired. In the row deleting event you will need to call your deletion function. In the DataKeyNames property give the name of your primary key column.
    Now in the rowdeleting event of gridview, you should write code similar to this:
    ...
    See more | Go to post

    Leave a comment:


  • Saad Alam
    replied to Datagrid Header Formatting
    in .NET
    Try this,

    <asp:BoundFie ld DataField="Fiel dName" HeaderText="Som eText" SortExpression= "FieldName" >
    <HeaderStyle Font-Underline="Fals e" ForeColor="Blac k" />
    </asp:BoundField>

    Im not sure about underline but color will definitely change.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...