|
Thank you for the link, that will come in very handy. But the hardest part for me is how do I save the information of the amount of times the user came on the page in 1 week?
|
|
|
|
|
Trace login and logout duration time.
Parwej Ahamad
ahamad.parwej@gmail.com
|
|
|
|
|
hi friends...
..my problem is that..i have 5 rows in single column..so i want dispaly that 5 rows as 5 columns in gridview...
plzzzzzzz help me...
txs in advance........
|
|
|
|
|
instead of using gridview use datalist
|
|
|
|
|
Hi,
I had a problem. I can access my ASP.NET application through localhost and also
through my IP in my system.
But I am unable to connect from other system which is in same LAN. I was able
to access before but now I am not able to access
from other system. Is there anything to set in my IIS? Pls help me regarding
this.
Waiting for ur response.
murali krishna
|
|
|
|
|
avvaru.murali wrote: Is there anything to set in my IIS?
I don't think so. If you have deployed your application in IIS and It is accessible from you system by http://yourip/yoursite then Its fine.
avvaru.murali wrote: am unable to connect from other system which is in same LAN. I was able
to access before but now I am not able to access
from other system.
I think there may be some problem with your LAN. What problem are you getting while access that url. Did you ping that IP? Is it accessible?
|
|
|
|
|
avvaru.murali wrote: But I am unable to connect from other system which is in same LAN. I was able
to access before but now I am not able to access
from other system. Is there anything to set in my IIS? Pls help me regarding
this.
What is the OS of your machine? If it is XP, by default the firewall in XP restricts the ports (80) accessed from outside. Add an exception in the Firewall or turn off the firewall and try.
|
|
|
|
|
Hi,
I have a web application in which im trying to access the local machine sybase database...it works fine in my machine...but when i deployed it using MSI ...ie when i installed that MSI in other machine and there im not able to access the database ie when i run my application the page which contains database connection throws an Error like
System.componentModel.Win32Exception:Access denied at iAnywhere.Data.SQLAnywhere.SAConnection.Open....
|
|
|
|
|
Hi,
I'm not sure but as I can remember you have to install the Sybase ADO.NET provider on that machine.
Regards
Sebastian
|
|
|
|
|
pradeep455 wrote: database connection throws an Error like
You should quote the exact error message, not something similar to the error message.
The exception message suggests that it cannot connect to the database as it is not authorised to do so. Do you require to permit connections from remote machines?
|
|
|
|
|
I have loginpage and in the cs of that page and in login button click i wrote like this....(this is working fine in my system but when i made MSI package and installled in other system(Windows Xp pro IIS 5.1 the error occurs...)
string connectionString = ConfigurationManager.ConnectionStrings["connectionString"].ConnectionString;
SAConnection myConnection = new SAConnection(connectionString);
myConnection.Open();
and the error is as follows...(this error comes when i installed msi in Windows Xp)
System.ComponentModel.Win32Exception: Access is denied at iAnywhere.Data.SQLAnywhere.SAConnection.Open () at LoginPage.Imagebtn_Login_Click(Object sender, ImageClickEventArgs e)
====================
and the error is as follows...(this error comes when i installed msi in Windows 2003 server)
========================
System.TypeInitializationException: The type initializer for 'iAnywhere.Data.SQLAnywhere.SAConnection' threw an exception. ---> System.Exception: SQL Anywhere ADO.NET Data Provider requires access permissions of one of the following directories: 1. System temporary directory (C:\WINDOWS\TEMP\) 2. Current working directory (c:\windows\system32\inetsrv) 3. SQL Anywhere ADO.NET Data Provider assembly directory (C:\WINDOWS\assembly\GAC_MSIL\iAnywhere.Data.SQLAnywhere\10.0.1.37172__f222fc4333e0d400) at iAnywhere.Data.SQLAnywhere.SAUnmanagedDll.ThrowException(String err) at iAnywhere.Data.SQLAnywhere.SAUnmanagedDll.LoadDll() at iAnywhere.Data.SQLAnywhere.SAUnmanagedDll.get_Instance() at iAnywhere.Data.SQLAnywhere.SAConnection..cctor() --- End of inner exception stack trace --- at iAnywhere.Data.SQLAnywhere.SAConnection..ctor(String connectionString) at LoginPage.Imagebtn_Login_Click(Object sender, ImageClickEventArgs e)
|
|
|
|
|
How to get the header details of a mailitem programitacally in C#?
Thanks
Sebastian
|
|
|
|
|
Are you using the mail framework from .NET? Or a custom/third party solution?
|
|
|
|
|
Hi all
I am using this css for freezing header
.Divcontainer {
/* So the overflow scrolls */
width:98%;
/* Style */
border: 1px solid black;
}
.Divcontainer table th {
/* Keep the header cells positioned as we scroll */
position: relative;
top: expression(this.offsetParent.scrollTop - 2);
/* Style */
font-weight: bold;
height:20px;
background-color:#51c2d0;
font:bold 11px Tahoma;
color:#000000;
text-align: center;
}
.Divcontainer table th a {
/* Style */
color:#000000 ;
text-decoration: underline;
text-align: center;
font-size:11px;
font-weight:bold;
}
.Divcontainer table th a:hover {
/* Style */
color:#ffffff ;
text-decoration: underline;
text-align: center;
font-size:11px;
font-weight:bold;
}
and this is my div that contain gridview component inside it.
<div id="print_Grid" class="Divcontainer" style="height:300px;overflow:scroll; position:relative;margin:10px 0 0 10px;">
My code working well for header frezzing but in case of using dropdown control in grid,all dropdown covers header means when i move up mouse cursur then all dropdown goes up even on header.
N!dh!
|
|
|
|
|
Just use this CSS Class
.HeaderFreez
{
position:relative ;
top:expression(this.offsetParent.scrollTop);
z-index: 10;
}
and Set Gridview Header Style to that CSS
<headerstyle cssclass="HeaderFreez" />
For more you can Read This Article[^]
|
|
|
|
|
There are a couple of techniques out there for 'shimming' an iframe under the div that contains your header. The iframe should be z-index behind the div and will 'hide' the dropdownlists.
|
|
|
|
|
Some web sites has A A A to change the font size of the page although this can change the body font size, but how that also can change the font size of asp.net controls, i.e. on a login page?
Advanced thanks for your reply
|
|
|
|
|
By default, .NET controls are at 8.25 I believe. If you want to change it to something like 10 instead, you can't do it in the traditional way-
ctrl.Font.Size = 10
A way around is this is replacing the whole font in general-
ctrl.Font = new Font(ctrl.Font.FontFamily, 10, ctrl.Font.Style)
Try that out. Good luck.
Ranjit Viswakumar
Professional Services Specialist
HostMySite.com[^]
|
|
|
|
|
Thank you very much Ranjit
|
|
|
|
|
Hi.
I have a javascript function.
I need to run it in middle of my server side code.
e.g. by clicking a button some server-side codes will be executed, then my javasript function be called
Best wishes
|
|
|
|
|
.NET is a server-side and Javascript is browser-side. In order to enact server-side code by clicking a button, you can POST information via a traditional form. This will refresh the page. The Javascript can be dynamically generated in the header. But I'm guessing you don't want the page to refresh?
In this case, you'll need some AJAX. It will send an XmlHttp request to the server and receive an XmlHttp request back. This could be Javascript contained within script tags. Take a look at this example-
http://w3schools.com/ajax/ajax_xmlfile.asp[^]
Put an onClick event on your button that calls a AJAX function. The server-side page should output your Javascript function. Then that gets written to the current page within the specified div. And done. Good luck!
Ranjit Viswakumar
Professional Services Specialist
HostMySite.com[^]
|
|
|
|
|
my problem is to open another page in another frame.... i'm using Response.Write("webpage.asp"). i can not specify to display it inside the frame i made in a framset...
xxx
|
|
|
|
|
In order to display the page within a frame, you can use plain HTML-
<html>
<body>
<iframe src="webpage.asp"></iframe>
</body>
</html>
Try that out. Good luck.
Ranjit Viswakumar
Professional Services Specialist
http://hostmysite.com/?utm_source=bb
|
|
|
|
|
nice solution but i cant make a plain HTML since i'm making a webpage using C#-ASPX.... I'm using a "Response.Write" from a button-object to display a certain webpage, targeting to a specific frame from a frameset.
xxx
|
|
|
|
|
Hi
How can I display time Count Down in a Asp.net web page. It should be displayed in a label showing the decrement of time for every second on the webpage.Time should be in hours:minutes:seconds format.
Does anyone know how to do this using JavaScript or preferably Asp.net with C#.net
|
|
|
|