|
Hi;
I have a gridview which contains several columns and rows to view I need scroll bar.
I used this but it doesnt work:
div id="gridcontainer" style="overflow:auto;"
help me
modified on Tuesday, May 20, 2008 5:43 AM
|
|
|
|
|
<div id="GridContainer" style="height:150px;overflow:auto" runat="server">
|
|
|
|
|
Thanks Abhijit ;
for the link I see no relation between what I try and link .
merci encore
|
|
|
|
|
put your Gridview inside a panel and set the ScrollBar property of the panel to Auto
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Thanks Laddie;
it doesn't work.
merciii
|
|
|
|
|
Thanks Laddie;
it doesn't work!!!!
merciiii
|
|
|
|
|
It works only if the size of the gridview grow more than the panel size.
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Thanks Laddie;
yes it is true I have a very large gridview 20 columns and a hundred lines , the vertical scroll bar works well but not horizontal;it works with small gridview very well.
thanks.
|
|
|
|
|
I RUN AS HTML CODE USING VISUAL INTERDEV ..
AND SAVING AS EXTENSION .ASP.IF IT IS NORMAL.OK.WORKING
BUT SAVED AS EXTENTION NOT DISPLAYING
BY RANI
rani
|
|
|
|
|
Stop starting your posts as asp.net beginner
Dont write in caps, it means you are shouting
Dont repost
|
|
|
|
|
Rani - stop posting this drivel, and go and buy a book. We can't help you, your posts are meaningless. You need a basic level of knowledge in order to post lucid questions and you're not there yet. Do some study, learn enough to know how to ask a question, then come back
Interdev and ASP.NET have NOTHING to do with each other.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hello friends
My aim is to provide a user to enter the details of paypal such as id and amount from the front UI ..and start the processing
problem is when i give value to the hidden fields in the tag it works
but when i add runat="server" to it and assign value ..it doesnt work
Please tell me how to solve this
If my process is wrong please tell me how to assign the amount and id dynamically
Thank You
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Once you set runat="server" any control not at the top level, has it's name changed. This will break any js code you may be trying to use.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Is it possible to include an aspx file in an html page
I have the following code:
but its not showing anything
any help would be great
cheers!
|
|
|
|
|
Sorted it, had to make the page an aspx file that I was including it in!
|
|
|
|
|
Hi,
I am having this problem with this ModalPopUpControl from Ajax. It did pop up as it meant to be but I want it to do something more.
Basically, there are two Panel that will pop up, lets name it Panel1 and Panel2. Panel2 will appear after Panel1 if some conditions are met, if not, it shoudl not appear.
So in Panel1, I put a button Button1, hoping I can put in some condition under this button to call out Panel2. I want the protected void Button1_Click(object sender, EventArgs e) to fire but it seems nothing happens, it just show me Panel2 straight without checking the condition.
So I wanted to know how can I set some conditions to stop the ModalPopUpControl to proceed if the conditions are not met.
Or another way is how I can invoke a button click from javascript so that it will run the protected void Button1_Click(object sender, EventArgs e) for me since the ModalPopUpControl has a OnOkScript which will call a javascript function in the page.
Thanks in advance.
modified on Tuesday, May 20, 2008 5:28 AM
|
|
|
|
|
U have to write those code in Button ONClick event ,
|
|
|
|
|
If there are two fields firstname and latsname with values s and a.if we concatenate using sql we get s,a.Suppose a is null then how i check a is null and print s itself using sql select query.
|
|
|
|
|
How can a be null if its a value in a field, do you mean if one of the fields is null?
|
|
|
|
|
Yes if one of the field is null then how we can concatenate it by checking the null refrence.
|
|
|
|
|
SELECT ISNULL(firstName,'') + ISNULL(lastName,'') ...
|
|
|
|
|
Thanks for your kind reply sir.The answer is very helpful to me.
|
|
|
|
|
also i want to put a comma between the fields.if the field is not null insert a comma and if the value is null dont display the comma.How is it done with this isnull statement.
I attach a query below.in this the street and area is null.Please send a query that help to me.
SELECT ISNULL(Building, '') + ISNULL(Street, '') + ISNULL(Area, '') + ISNULL(District, '') + ISNULL(State, '') + ISNULL(Country, '') + ISNULL(PostalCode, '')
AS Expr1
FROM SA_Address
WHERE (AddressID = 13)
|
|
|
|
|
this gets a little more complex, and I would suggest that this is display logic so should therefore be in the presentation layer rather than the database layer. So if it were me I would be selecting each field from the address table and dealing with the presentation in the presentation layer.
If you insist upon doing it in the wrong place, you want something like
SELECT
CASE WHEN Building IS NULL THEN ''
ELSE Building + ',' END +
CASE WHEN Street IS NULL THEN ''
ELSE Street + ',' END +
CASE WHEN Area IS NULL THEN ''
ELSE Area + ',' END +
... (etc)
|
|
|
|
|
Thanks for your kind reply sir.in isnull no way to check like that.Is any way to check in isnull itself.
|
|
|
|