Jump to content

datla

Members
  • Posts

    30
  • Joined

  • Last visited

datla's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. thank you very much. I'll try
  2. I am coding in ASP.Net 2.0I used Session.SessionID to save information of users.Every one to refresh IE, Session.SessionID is different.Example: first time : Session.SessionID = "xhsez455mmmtasilovxdmxnq"second times (save another information) : Session.SessionID = "lyakwr555taa2m20qthb5a45"I don't understand. Why Session.SessionID of first time is differently Session.SessionID of second times(in once IE)?Can you explain to methank you very much!!
  3. I want to validate the dimension of the uploading image by javascript in IE 6.0 7.0, Netscape and Firefox browser . The dimension must be 289x66.Image in local.I used this function but it work in IE 7.0 and firefox function checkImageDimensions (filename) { var imgURL = 'file:///' + filename; var img = new Image(); if (document.layers && location.protocol.toLowerCase() != 'file:' && navigator.javaEnabled()){ netscape.security.PrivilegeManager.enablePrivilege('UniversalFileRead'); } img.src = imgURL; if (img.width != 289 || img.height != 66){ alert("error"); } else{ alert("error"); } } thanks
  4. datla

    Can not get Session

    I have two website.In first website, i have a link to a page of second webiste.In that page. Why I can not get Session saved in first website.(if can not get Session) How can i get information saved in Session?please help me.
  5. I coding in ASP.Net 2.0I using GridView to view table data.My table data include 60 rows.GridView view 10 rows per page.I want sorting dat for only page view.example: I view page 1 in 6 page.I want sorting only page 1. Do not sorting data in 5 page other.can you help me?thanks.
  6. datla

    please help me

    I code in ASP.Net 2.0I used GridView. I set "AllowSorting = true" to sort data in one column.and I show image to sorting.but I can show 2 in to sorting (Ascentting and Descending)Can you help me. thank you.
  7. You can try this code.I think It can.I tried in Netscape. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>Welcome to C3hub.com</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css"><!--body{ background:#999; text-align:center; color: #999999; background-color: #FFFFFF; height: 100%; font-family: Tahoma, Verdana, Arial; margin: 0px;}#header{ width:776px; margin-right: auto; margin-left: auto; padding: 0px; text-align:left; height: 95px;} #contain{ margin-right: auto; margin-left: auto; width: 776px;} #mainbg{ width:776px; padding: 0px; float: left; background-color: #FF3300;}#right{float: right; margin: 2px 0px 2px 0px;padding:0px; width: 574px; background: #ccd2de;text-align:left;}#left{float: left; margin: 2px 2px 0px 0px; padding: 0px; background: #F2F3F7;width: 200px;text-align:left;}#menu { float: right; width: 534px; margin-top: 29px;}#submenu { background-color: #FF3300; height: 20px;}#footer{clear:both;width:776px;margin-right: auto;margin-left: auto; padding: 0px;background: #EEE;height:60px;}.text{margin:0px;padding:20px;}#logo { width: 168px; height: 65px; background-image: url(../images/logo.jpg); background-repeat: no-repeat; background-position: 0px 0px; margin-top: 5px; margin-right: 0px; margin-bottom: 0px; margin-left: 5px; float: left;}.hackbox { clear: both;}#topmenu { float: right; height: 20px; width: 550px;}#topmenu { height:20; margin:0px;}#topmenu li { float:left; list-style-type:none; margin: 0px; padding: 0px;}#topmenu li a { display: block; text-decoration: none; color: #FF6600; text-align: center; height: 20px; padding-top: 6px; font-size: 11px; width: 78px;}#nav { height: 26px; margin: 0px; padding: 0px;}#nav li{ float: left; list-style-type: none; margin: 0px; padding: 0px;}#nav li a{ display: block; text-decoration: none; color: #FFFFFF; background-color: #FF9751; text-align: center; height: 20px; width: 97px; padding-top: 6px; font-size: 12px; font-weight: bolder; border-left-width: 1px; border-left-style: solid; border-left-color: #FFFFFF;}#nav li a#current{ background:#FF3300; color:#FFFFFF;}font { font-family: Tahoma, Verdana, Arial;}--></style></head><body><div id="header"> <div id="logo"></div> <div id="topmenu"> <ul id="topmenu"> <li><a href="#">About Us</a></li> <li><a href="#">shopping cart</a></li> <li><a href="#">Login</a></li> <li><a href="#">Join Free</a></li> <li><a href="#">Help</a></li> <li><a href="#">Enquiry</a></li> <li><a href="#">Message</a></li> </ul> </div> <div style="clear: right"></div> <div id="menu"> <ul id="nav"> <li><a href="#" id="current">Home</a></li> <li><a href="#">Selling</a></li> <li><a href="#">Buying</a></li> <li><a href="#">My C3</a></li> <li><a href="#">Resource</a></li> </ul> </div> <div class="hackbox"></div> <div id="submenu">sadddd</div></div><div id="contain"> <div id="mainbg"> <div id="right"> <div class="text">right <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> <p> </p> </div> </div> <div id="left"> <div class="text"> <p>left</p> <p> </p> </div> </div> <div class="hackbox"></div> </div></div><div id="footer">footer</div></body></html>
  8. datla

    please help me

    My Master Page action value is : "http://localhost/Test/submit_form/Default1.aspx". <input type="button" id="btnSubmit" value="Submit Order" runat="server" onlick="noPostBack('http://localhost/Test/submit_form/Default1.aspx');" /> and function noPostBack(sNewFormAction){ document.forms[0].action = sNewFormAction; document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE'; document.forms[0].submit();} yes. My second server running on localhost. And the website called "Test".thanks.
  9. datla

    Please explain to me

    Hi!Can you explain to me about different between: padding:.5em;and padding:5em;thank you!
  10. datla

    please help me

    I code in ASP.Net 2.0I used MasterPageI tried it but I can not get value.I tried this code:a Webpage in first server:Default.aspx: <%@ Page Language="VB" MasterPageFile="~/submit_form/MasterPage.master" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="submit_form_Default" title="Untitled Page" %><asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server"> <script language="javascript" type="text/javascript"> function noPostBack(sNewFormAction) { document.forms[0].action = sNewFormAction; document.forms[0].__VIEWSTATE.name = 'NOVIEWSTATE'; document.forms[0].submit(); } </script> <asp:TextBox runat="server" ID="txt" Text="here"></asp:TextBox> <input type="button" id="btnSubmit" value="Submit Order" runat="server" onlick="noPostBack('http://localhost/Test/submit_form/Default1.aspx');" /></asp:Content> The page in Another Server:Default.vb: Partial Class submit_form_Default1 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load lbl.Text = Request.Form("ctl00_ContentPlaceHolder2_txt") End SubEnd Class This is my problem:When I submit from in first server.I can not get value from Default.aspx in first server.Please help me.thank you very much!
  11. datla

    please help me

    I code in ASP.Net 2.0I used MasterPageI tried it but I can not get value
  12. datla

    please help me

    I have two server.I want submit a form in the web page to another page in other server.
×
×
  • Create New...