|
Hi,
I am using tag in one of my pages to display text entered into a text box. The problem is I don't want horizontal scroll bar. How do I achieve this?
If I am using
style="OVERFLOW: auto;height=150;width=125"
I am getting both the scroll bars. But I want the behaviour similar to wrap text property.
Regards,
Uma
|
|
|
|
|
style attribute overflow: hidden
Keep Smiling !!!
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
There are two attributes - overflow-x and overflow-y, which control the scrollbars independently, so to hide one and show the other, use something like...
<div style="overflow-x:scroll; overflow-y:hidden"></div>
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
hi
I am showing my data on webpage thro gridview. I want to add context menu
in it. I dont know how to do it. I m doing my project in vs2005 using C# lang.
plz help guys.
|
|
|
|
|
Hi bipin,
Following Microsoft Cutting edge article shows good example with source code on context menu but only limitation is, this context menu is running in IE not in firefox.
http://msdn.microsoft.com/msdnmag/issues/05/02/CuttingEdge/
Regards,
Swap.
|
|
|
|
|
swap
i know that link...
but they used readymade option overthere called contextmenu..
how can i get that menu?
i hve not seen that in my gridview property..
i think that contextmenu is custom control.
|
|
|
|
|
Bipin,
You are right, it is custom control. But to put it in to gridview you can add it in to cell during databind method. But it will not feasible to put it in all cell, so if you have functionality to put it in one column or particular cell than it will work.
and if you want to add to whole grid than you need to develop custom control and for that javascript context menu will help you, this menu attaches with any html element in case of gridview(table), and popup on right click of that particular html element.
http://www.dynamicdrive.com/dynamicindex1/jsdomenu/index.htm
Regards,
Swap.
|
|
|
|
|
thanks man..
ur absolutly right..
i m thinking abt javascript...
i think it is little bit lenthy process..
i wil see the link .
thanks
|
|
|
|
|
Hi Bipin,
I just surf around and got this link on codeproject itself may be it helps you.
http://www.codeproject.com/aspnet/dynamenu.asp
Regards,
Swap.
|
|
|
|
|
hai
i want to refresh the page of asp.net without blinking.my code is
.
if i given this code means page are refresh with blinking.so i want code for refresh without blinking.plz help.
regards,
sathyanarayanan
|
|
|
|
|
You can use AJAX to get updates from the server and then update the page without reloading it.
---
Year happy = new Year(2007);
|
|
|
|
|
hi i have written code in xml to load ads to the adrotator control , the images are not changed so i added
the below code to refresh the page
then the page will refresh for every 5 seconds , but page was blinked (i mean visible,invisible )
what is the solution?
|
|
|
|
|
HI
try This
asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf
|
|
|
|
|
Hi,
I have this program that I'm trying to compile and it flags this error:
The type or namespace name 'src' could not be found(are you missing a using directive or an assembly reference?) I've tryed to look for a .dll called src I can't find it. It's only a folder called src that I find. Am I missing something?
thank you
|
|
|
|
|
when we using the ajax enabled project, there's a problem that we cannot share it in the network and cant be debugged. the following error shows when debugged from network,
"An error occurred loading a configuration file: Failed to start monitoring changes to 'Y:\F_AjaxEnab' because the network BIOS command limit has been reached. For more information on this error, please refer to Microsoft knowledge base article 810886. Hosting on a UNC share is not supported for the Windows XP Platform."
Y: is the drive which is mapped.
Pls give me a solution..
|
|
|
|
|
I'm trying to send an email from a website with mailmessage.
It works all fine, but...
Only 1 recipient will get the message.
Other recipients or cc's won't get delivered.
The recipient that gets the email can see in the header that the message is send to multiple recipients and cc's.
I'm sure the email adresses are correct. I tried sending them in the same domain, other domains etc...
When I send the message to a file, it also looks OK.
There are also no errors thrown.
What am I doing wrong ?
Const ToAddress As String = "remco@a.nl"
Const fromaddress As String = "test@a.nl"
Dim mm As New MailMessage(fromaddress, ToAddress)
mm.CC.Add(New MailAddress("corinda@a.nl"))
mm.To.Add(New MailAddress("corinda@a.nl", "Jan A"))
mm.Subject = "onderwerp"
mm.Body = "Inhoud"
mm.IsBodyHtml = False
Dim smtp As New SmtpClient
smtp.Send(mm)
|
|
|
|
|
Hi,
Can anyone tell me wat is the best way for ONLINE payments using credit cards..(it has to be world wide)
I know there is PayPal ..can any one tell me the steps in detail...
Awaiting for ur speedy resposes
Thanx in advance!!
Regards
Bino Varghese.V
|
|
|
|
|
Hi Bino,
following are paypal sdk,
https://www.paypal.com/cgi-bin/webscr?cmd=p/pdn/software_dev_kit_asp_net-outside
you can develop an asp.net application with paypal integration by following way it contains step wise instruction
http://www.devsource.com/article2/0,1759,1766266,00.asp
and if you are looking for other payment gateways than following are some of the payment gateways like paypal
http://www.ccavenue.com/
http://www.abcpayments.com/
http://www.transecute.com/
Regards,
Swap.
|
|
|
|
|
Hi Swap,
Thank u for ur Timely reply .vl check those sites.
Regards
Bino Varghese.V
|
|
|
|
|
Hi Swap..
I came to know that Paypal service is not in India..is that True???
can u plz suggest me some other alternative which accepts both Dollar and money transfer(i.e)both US and India Credit Cards...
Awaiting for ur reply..
Regards
Bino Varghese.V
|
|
|
|
|
Dear All,
i am bit new to the dotnet world. i am making web application using asp.net ,C# (Visual studio 2005).i have .jpg file(which can be set to destop). i want it to show on Full (or even in content area)page as a background. Is it possible.
please guide me
thanks
regards
imran khan
|
|
|
|
|
hi
you can do this without any code, just set the background for the body.
<body background='image1.jpg'>
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
I am using session variable to store user's LoginID.In my case a user will login once in the morning and may keep on logged without logging out.During this case if the user is static for long time,session automatically expires after 20/30 minutes.In such case i have to find out if session is empty i have to redirect to login page.But i dont want the user to do that,and i don't want the session expired untill and unless i logout. Kindly help in retaining or refreshing the session variable.
Sathiyaraj Ganesan
|
|
|
|
|
The ASP.NET HttpSessionState class provides a useful IsNewSession( ) method that returns true if a new session was created for this request. The key to detecting a session timeout is to also look for the ASP.NET_SessionId cookie in the request. If this is a new session but the cookie is present, this indicates a timeout situation.
public class basePageSessionExpire : System.Web.UI.Page
{
public basePageSessionExpire()
{
}
override protected void OnInit(EventArgs e)
{
base.OnInit(e);
//It appears from testing that the Request and Response both share the
// same cookie collection. If I set a cookie myself in the Reponse, it is
// also immediately visible to the Request collection. This just means that
// since the ASP.Net_SessionID is set in the Session HTTPModule (which
// has already run), thatwe can't use our own code to see if the cookie was
// actually sent by the agent with the request using the collection. Check //if
// the given page supports session or not (this tested as reliable indicator
// if EnableSessionState is true), should not care about a page that does
// not need session
if (Context.Session != null)
{
//Tested and the IsNewSession is more advanced then simply checking if
// a cookie is present, it does take into account a session timeout, because
// I tested a timeout and it did show as a new session
if (Session.IsNewSession)
{
// If it says it is a new session, but an existing cookie exists, then it must
// have timed out (can't use the cookie collection because even on first
// request it already contains the cookie (request and response
// seem to share the collection)
string szCookieHeader = Request.Headers["Cookie"];
if ((null != szCookieHeader) && (szCookieHeader.IndexOf("ASP.NET_SessionId") >= 0))
{
Response.Redirect("sessionTimeout.htm");
}
}
}
}
}
Ref : http://72.14.253.104/search?q=cache:UCFMZaCa5XEJ:aspalliance.com/520+session+time+asp.net&hl=en&gl=in&ct=clnk&cd=5&client=firefox-a
Keep Smiling !!!
Parwej Ahamad
g_parwez@rediffmail.com
|
|
|
|
|
How to take difference of any float values in ASP.NET?
e.g 6.30-5.30
dhaval
|
|
|
|