|
Please read the forum guidelines and give your questions appropriate titles.
__________________
Bob is my homeboy.
|
|
|
|
|
i want to Format Textbox to currency format with comma and decimal place when the control lost focus
|
|
|
|
|
So, handle the event.
only two letters away from being an asset
|
|
|
|
|
|
How can one change the gridview cell width programatically?
thanks for your anticipated answer
|
|
|
|
|
Gridview[^].There are lot of articles related to the change in cell width in Gridview.
Regards,
Satips.
|
|
|
|
|
Somebody to help me with CSS Submenu and Hover. The Hover menu effect is not working. Below is my aspx page and my css.
Thanks
homeMaster.master
-----------------
<title>Untitled Page
| |
<asp:textbox id="TextBox1" runat="server" visible="False" width="568px"> | |
| <asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
| |
© 2007. All Rights Reserved |
mycss.css
---------
body
{
/*background-color: #008000;#eff3fb; ##e4e4c4*/
font-family:Verdana Arial Georgia;
font-size:13px;
}
h2
{
background-color:#d2b48c; /*#d9f38e;*/
height:12px;
width:100%;
margin-bottom:-12px;
}
.txtcenter
{
text-align:center;
}
.cellbg
{
background-color:#bb9966; /* #eee8aa;*/
}
.td1
{
border-bottom: maroon thick solid;
}
.tdhdr
{
background-color:#d9f38e;
vertical-align:top;
}
.ralign
{
text-align:right
}
.lblalign
{
text-align:right;
/*background-color:#cccc99;*/
vertical-align:top;
}
.tcap
{
text-transform:uppercase;
}
.navigation
{
font-size:11px;
margin:50px 0px;
width:200px;
font-family:Arial,Sans-Serif,Helvetica;
position:relative;
height:150px;
}
.navigation ul li a {
BORDER-RIGHT: #fff 1px solid;
BORDER-TOP: #fff 1px solid;
DISPLAY: block;
FONT-SIZE: 11px;
BACKGROUND: #c9c9a7;
BORDER-LEFT: #fff 0px solid;
WIDTH: 104px;
COLOR: #000;
LINE-HEIGHT: 19px;
BORDER-BOTTOM: #fff 0px solid;
HEIGHT: 20px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.navigation ul li a:visited {
BORDER-RIGHT: #fff 1px solid;
BORDER-TOP: #fff 1px solid;
DISPLAY: block;
FONT-SIZE: 11px;
BACKGROUND: #c9c9a7;
BORDER-LEFT: #fff 0px solid;
WIDTH: 104px; COLOR: #000;
LINE-HEIGHT: 19px;
BORDER-BOTTOM: #fff 0px solid;
HEIGHT: 20px;
TEXT-ALIGN: center;
TEXT-DECORATION: none;
}
.navigation ul
{
PADDING-RIGHT: 0px;
PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px;
MARGIN: 0px;
PADDING-TOP: 0px;
LIST-STYLE-TYPE: none;
}
/*.navigation li
{
BACKGROUND: #b3ab79;
position:relative;
height:26px;
}
.navigation a
{
border-right:#fff 1px solid;
border-top:#fff 0px solid;
display:block;
border-left:#fff 0px solid;
width:200px;
color:#000;
text-indent:5px;
line-height:25px;
border-bottom:#fff 1px solid;
height:25px;
text-decoration:none
}
.navigation a:visited
{
border-right:#fff 1px solid;
border-top:#fff 0px solid;
display:block;
border-left:#fff 0px solid;
width:200px;
color:#000;
text-indent:5px;
line-height:25px;
border-bottom:#fff 1px solid;
height:25px;
text-decoration:none
} */
.navigation ul li {
FLOAT: left;
MARGIN-RIGHT: 1px;
POSITION: relative;
}
.navigation ul li ul {
DISPLAY: none;
}
.navigation ul li:hover a {
BACKGROUND: #b3ab79;
COLOR: #fff;
}
.navigation ul li:hover ul {
DISPLAY: block;
LEFT: 105px;
WIDTH: 105px;
POSITION: absolute;
TOP: 0px;
}
.navigation ul li:hover ul li a.hide {
BACKGROUND: #dfc184;
COLOR: #000;
}
.navigation ul li:hover ul li:hover a.hide {
WIDTH: 150px;
}
.navigation ul li:hover ul li ul {
DISPLAY: none;
}
.navigation ul li:hover ul li a {
DISPLAY: block;
BACKGROUND: #b3ab79;
WIDTH: 150px;
COLOR: #000;
}
.navigation ul li:hover ul li a:hover {
BACKGROUND: #dfc184;
COLOR: #000;
}
.navigation ul li:hover ul li:hover ul {
DISPLAY: block;
LEFT: 151px;
COLOR: #000;
POSITION: absolute;
TOP: 0px;
}
.navigation ul li:hover ul li:hover ul li a {
DISPLAY: block;
BACKGROUND: #dfc184;
WIDTH: 200px;
COLOR: #000;
}
.navigation ul li:hover ul li a:hover {
BACKGROUND: #bd8d5e;
COLOR: #fff;
}
|
|
|
|
|
How to set a filter ie to display files of *.txt extension in fileupload control
ie when i click on browse button i shd get only those files that have extension *.txt to select.
-- modified at 5:45 Friday 18th May, 2007
|
|
|
|
|
Hi all,
i want to know, How to store data from one table to another table in a dataset.
* ex: dataset contains 2 tables.
one table has data, other is empty.
thanks
|
|
|
|
|
<br />
Clones the structure of the DataTable, including all DataTable schemas and constraints.<br />
DataTable newTable =ds.Tables[0].Clone();<br />
<br />
Iterate through the dataset assign data to new table <br />
newTable.Rows.Add(ds.Tables[0].Rows[0]);<br />
add new table to Dataset <br />
ds.Tables.Add(newTable);<br />
<br />
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
asp.net,c#. I had completed a application named discussion forum in which every one can post their messages and view replies to that messages..
My Question is if I posted a new message will a alert can be genarated to all the persons who r using it.. it is possible or not if possible help me out
-- modified at 5:20 Friday 18th May, 2007
ddddd
|
|
|
|
|
Yes you can generate the Alert Message using Javascript.
But there is no need for alerting the message if teh user wnat to post the message please check he is logged in or not. that itself is ok.
Why are you trying to do the Application more complicated.
Regards,
Satips.
|
|
|
|
|
A simple doubt. An aspx page is reading contents from XML file. Will this make any problem if more than one users accessing the page at a time. I use XMLTextReader to read XML files.
|
|
|
|
|
|
Navaneeth. wrote: A simple doubt.
You mean question?
(I see that mistake a lot here, do you have any idea why it's so frequent?)
Navaneeth. wrote: An aspx page is reading contents from XML file. Will this make any problem if more than one users accessing the page at a time.
As long as you open the file only for reading, there is no problem.
---
single minded; short sighted; long gone;
|
|
|
|
|
Navaneeth. wrote: Will this make any problem if more than one users accessing the page at a time.
No Till you open for read only
that was my question before few months
I was developing a console application which parse xml file of 1 GB to check this i crated different instances of application and parse common xml file.
i was able to open Xml file at same time. But the respose time for parsing xml file affected by few seconds don't know the reason
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hi,
I posted yesterday about this and did not find a solution. I am trying to create a custom control using the instructions given here:
http://blogs.msdn.com/coding4fun/archive/2007/05/05/2429765.aspx
If I use the local host for running the site, it works fine. But if I try doing the same on our web server, I get the following message, even if I don't insert the custom tag into the aspx page:
<br />
Compiler Error Message: CS0246: The type or namespace name 'myControls' could not be found (are you missing a using directive or an assembly reference?)
NOTE: This error is shown when the page loads, and not when it compiles. It compiles without errors.
I'm using Visual Web Developer, although I also bought Visual Studio 2005 Standard recently. I am connecting to a remote web server using FTP.
Does anybody have any suggestions? This is driving me crazy. Any help would really be appreciated.
Thanks,
James
|
|
|
|
|
We have the following requirement coming up from our client.
Framework 1.1,c#
Ours is a Content(Mainly O/S files) Providing System. Files(.pdf,etc) will be stored in folder(s). Google will be given links to these contents. For e.g.http://<webserver>/<virtualdirectory>/<folder>/<filename>.
We may need a login for seeing some of the contents. We have following three options.
1. An aspx page -> download.aspx?file=<filename>&otherparam=<paramvalue>
OtherParam will control whether login is required for downloading this content.
2. HTTPModule which will control all the requests coming to Virtual Directory
3. Forms Authentication which will invoke the login page automatically.
Suppose if we give a link as in option 1, will google be able to crawl the PDF and search for keywords. How google crawls any pdfs and searches for keywords? I searched google itself and could not get the exact idea.
Second and third option also works.
We will check for authentication(Authentication through third party web service.) in all the options. User also will be coming through URLs listed in google search. How to differentiate between google crawling and external user so that authentication may be turned off during runtime to increase performance during crawling.
Help would be greatly appreciated.
|
|
|
|
|
K.P.Kannan wrote: Suppose if we give a link as in option 1, will google be able to crawl the PDF and search for keywords.
I think it can't.
K.P.Kannan wrote: How google crawls any pdfs and searches for keywords?
Google can't open the PDF and search for keywords.
K.P.Kannan wrote: How to differentiate between google crawling and external user so that authentication may be turned off during runtime to increase performance during crawling.
There is no efficient way to find out the request is given by a spider or normal user. And one more thing google won't be able to crawl efficiently a page that uses session id's and authentications.
|
|
|
|
|
Frankly you have to choose if your content is publically available or not. You can't make information available only to Google, as they will cache the pages and make them available to everyone.
---
single minded; short sighted; long gone;
|
|
|
|
|
Hi all,
I have a problem in attaching the crystal report to my web application. when i try to create an instance in coding it says i am missing a directive.
plz tell me what to do i wanna attache the crystal report i created to the web application.
rkherath
|
|
|
|
|
hai to all,
How to add a formula to the designed crystal report????
I have tried but it is not at all working properly.Give any links which will give an idea for adding a Formula for the designed crystal report???
I have designed a report with the VIew (means dataset).After that i want to add a formule on some of the fields.
CAn any one please suggest with some examples??
Thanks in advance.
Regards,
kissy
kissy
|
|
|
|
|
Open a Crystal Report in Visual studio.
Press Ctrl + Alt + T,
You will get Field explorer window in left hand side.
There you will find Formula fields,
Right click select New...,
You will get a dialogue texbox to type a name for formula,
when you type the formula name you will get a formula window.
there you can write your formulae.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
Hi Guys,
I using the followiing code in my Web.config file
<customErrors mode="RemoteOnly" defaultRedirect="default.aspx">
<error statusCode="404" redirect="default.aspx"/>
</customErrors>
My problem is if give an file name with extensions(like .htm,.php,.asp etc) other than .aspx the page is not redirecting to the default page.
It shows the error page of the Browser. HTTP Error 404 -File or directory not found.
I want to redirect it to my default page.
If anybody has suggestions or coding .Please reply.
Thanks
Jith
-- modified at 3:04 Friday 18th May, 2007
|
|
|
|
|
jithbiz0033 wrote: My problem is if give an file name with extensions(like .htm,.php,.asp etc) other than .aspx the page is not redirecting to the default page.
because For instance, if you define a custom error for the status code 404, ASP.NET will issue it anytime you refer to a non-existing .aspx page
The custom errors are only issued for those elements handled by ASP.NET. For instance, if you refer to a non-existing .htm page, IIS issues the standard 404 error
Taken from MSDN
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|