|
I would suggest you not to use design view at all.
Use HTML view and write tags and set properties there as u want.
And test the view in browser only because what you can see in design view is not important but what you can see in browser metters.
Thanks and regards,
Chetan Ranpariya
|
|
|
|
|
Chetan Ranpariya wrote: Use HTML view and write tags and set properties there as u want.
Absolutely agree - and with the further step that any "decorative" markup should wherever possible be in Css, rather than the props of the tag itself (just my personal pref!)
Chetan Ranpariya wrote: And test the view in browser
Many MANY browsers lol!
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
hi all,
Happy new year to all of u..
i am using fixed header css which i found here in codeproject
.DataGridFixedHeaderCSS
{ FONT-WEIGHT: bold; FONT-SIZE: 9px; COLOR: Navy; FONT-FAMILY: Tahoma, verdana, arial; POSITION: relative; ; TOP: expression(this.offsetParent.scrollTop - 2); BACKGROUND-COLOR: gray}
It's working fine in LTR windows, but it's not working in RTL windows (Arabic), In RTL while scrolling header is not showing, i hope it is becoz of position attribute set to relative.
how to set in RTl windows???
Pls.. tell me how to do it in RTL windows.. urgent
|
|
|
|
|
hi...
i am have datagrid in which i need to get the value of 3rd column
of the grid after its edited but i am always getting the edited value as empty. my edit link is present as last column of the grid
the code i use to get the value of 3rd column is
dim str as string = CType(e.Item.Cells(2).Controls(0), TextBox).Text
thanks for the help in advance
-- modified at 4:51 Wednesday 3rd January, 2007
enjoy..
|
|
|
|
|
Hi,
Use FindControl Method to find the TextBox as follows:
dim str as string = CType(e.Item.Cells(2).FindControl("TextBoxName"), TextBox).Text
TextBoxName is the name of the textbox control.
Sandip Kansara
Software Engineer
India.
|
|
|
|
|
thanks for replying
the issue here is even though i update the textbox with data i always get the output as empty value from the textbox same as i got with my code...so can u tell me what might have been the problem
thnks for ur time and effort
enjoy..
|
|
|
|
|
Check whether you are reloading the DataGrid with data in the Page_Load Event without checking the IsPostback...
|
|
|
|
|
hi
thank you very much...You are right i missed to check for postback when i am loading grid in page load
now its working you are right ...thanks a lot
enjoy..
|
|
|
|
|
|
Hai,
This is quite good and so many people forget this case.
But here one of my co-programmer has similar type of problem, he has a telrik grid and as per client spec the page must not post back and the values from the grid columns are to be shown in a text box controls. He is trying so hard. But as these controls are runs at server it is necessary to past back the page to show the data int textbox.
do you have any other idea of accomplishing this type os task with telrik grid.
|
|
|
|
|
Hey Nagendra,
I haven't heard about the Telrik Grid. I assume that it is similar to our normal Grid in ASP.NET. Your problem can be solved by using JavaScript. Or the best way is to use Atlas (Microsoft AJAX).
|
|
|
|
|
Can any one help me out in clearing browser cache by writing c# code in asp.net
plz.....................
Pradeep Reddy
|
|
|
|
|
You can't do that.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
ok... thank you
Pradeep Reddy
|
|
|
|
|
can any one helphow to insert delete update and retrieve the values frm the database using asp.net as front end and ms access as back end....
|
|
|
|
|
|
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi
i would like know something about credit card processing.
is anybody there who have used ablecommerce or any other credit card processing services.
let me know which will be the best service and what precautions should i take.
plese share the informations you have.
thanks in advance
|
|
|
|
|
how to write a javascript code for i put tick mark in one chek box means then automatically other tick mark will display in other check box.
|
|
|
|
|
CheckBox1.Attributes.Add("onclick", "document.getElementById('" + CheckBox2.ClientID + "').checked = true");
|
|
|
|
|
Hi,
I want to change the Forecolor of the LinkButton Control on its click event.
I tried using this
LbtnItemSold.ForeColor = System.Drawing.Color.ForestGreen;
But I'm unable to get results.
Actually I wanted to assign Custom Color i.e #b8d7aa not System defined like above one(ForestGreen) but I'm not able to achieve former and dont know how to achieve latter one. Please guide (which method or property I have to use please give example with your answer).
Thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
You can add an attribute to the control using
yourBtn.Attributes.Add("onclick","this.style.foreColor='#b8d7aa'");
hv
|
|
|
|
|
Hi All,
I have used the Calendar control in ASP.NET 1.1, It has only the month Navigation functionality only. BUT I want to Navigate Between Years and also between months.
How to make the Calendar Control more user friendly ?
Regards,
Jay
|
|
|
|
|
Hi,
U will have to take 2 link button or any button and add ur own code navigate between years.Hope I helped u.
|
|
|
|
|
Hi,
Sorry, I cant able get your idea. Can you please explain. Currently I am using Built-in Calendar control in asp.net 1.1 environment. It dont have Year Navigation.
Regards,
Jay
|
|
|
|