|
Just do it from codebehind ,
Create object of TextBox Class.
Give an ID.
Add with your page.
That's All.
|
|
|
|
|
can you tell me code behind reference or where to look because i never use it before
thx...
|
|
|
|
|
hi there,
i have a gridview, with alternate row of diff color.
i have div as one of template item.
how to change the color of scrollbar of that div to it's row's color.
for example;
say odd numbered rows are of white color and even numbered rows are blue color.
i have a div in all the rows.
i want div of white colored row to have scrollbar of white color and div of blue colored row to have scrollbar of blue color.
any help...
Thank u.
|
|
|
|
|
AFIK :Gridview has a AlternativeRowColor Property , please check it.
you can do it also using CSS .
Sorry!!! I have just misunderstand your question !!!
BenitaDSouza wrote: i want div of white colored row to have scrollbar of white color and div of blue colored row to have scrollbar of blue color.
You want Div Scroll color will be based on Row color. But i dont think so it is possilbe. You can chage your Div Scrollbar color in a single color but one Scroll having different color
|
|
|
|
|
hey its not one scrollbar having different color...
my gridview has a column with header comment..
and the templatefied for that column is a div..
that means each row wil have different div....
now i want the scrollbar of this div to have color of its row's backcolor...
hope u understood..
|
|
|
|
|
Check the Link
[^]">
Cheers!!
Brij
|
|
|
|
|
Hi I need help i made RDLC Report in .net3.5.
but the problem is that iam using IE7 when i deploy that application on IE6.i donot get reports on IE6.
can any one tell me wats problem
|
|
|
|
|
Hi all,
I want to know is there any difference in the functioning of static variables defined
inside a class library to that defined in a codebehind class.
I came across such a situation when both of these are working differently.The codebehind one
maintains single copy for all instance of that page and changes made at 1 place are being reflected in all the other places.
where as the class library's one doesn't reflect the change smade to it except for the MOzilla browser.
Is there somebody already faced and foud the solution to this problem.Please be kind enough
to tell me answer.
Thank you
|
|
|
|
|
Static variables stay in memory until the application domain where it is hosted unloads. So the static variables declared in a code behind file and a separate class library should work similarly. Is this library creates a new app domain?
joindotnet wrote: where as the class library's one doesn't reflect the change smade to it except for the MOzilla browser.
Browsers don't have any role in this. static variables are kept on servers memory and managed by the runtime. Make sure your ASP.NET process is not recycling frequently.
|
|
|
|
|
Hi thanks for replying.Could u plz tell me why changes I make to the static variable are not reflected on IE but reflected on Mozilla???
I am confused.
|
|
|
|
|
joindotnet wrote: Could u plz tell me why changes I make to the static variable are not reflected on IE but reflected on Mozilla???
I don't know. Have you tried pressing Ctrl + F5? Sometime IE's cache will be making problem.
|
|
|
|
|
As the browser has nothing to do with how the static variable is stored, you are looking for the problem in the wrong place. The variable is changed just fine, it's just that you don't see the current value in the browser, probably because you are looking at a cached page.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi Guffa,
Thanks for bothering.But I have set my browser to refresh every time a page is requested.It never sees the cached value....What might be the problem here I don't understand.
Has this something to do with dll and AppDomain???'coz 1 variable is defined in the dll,other 1 is in normal codebehind.
|
|
|
|
|
A static variable is a static variable regardless of where in the application it is. There is only one instance of each static variable in the application, shared between all threads. If you change the value in a static variable and don't see the change, it's because you are not reading the variable at all.
Static variables are usually not useful in a web application, as it's a multi threaded application, and all threads share the same static variable. If one user changes the variable, all users see the change.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Please any one help me
i want to add new image into the new Div control by every button click in asp.net please help me.
modified on Wednesday, December 10, 2008 7:30 AM
|
|
|
|
|
Client side or server side button click ?
Parwej Ahamad
|
|
|
|
|
whatever u want to use please help me
thank for replay...
modified on Wednesday, December 10, 2008 7:28 AM
|
|
|
|
|
Are you trying to do at runtime?Please describe in detail the requirement?
Cheers!!
Brij
|
|
|
|
|
Actually i trying drag and drop image but i want drag and drop more image on one other image and compose so i select file upload control ...
but lake information of java script i can't do somethink
|
|
|
|
|
sanjay30 wrote: i want to add new image into the new Div control in asp.net please help me.
Then What is the problem ? Add Image Control Inside Div!!!
|
|
|
|
|
i want to add on button click event at runtime not drag image control from toolbox of studio.
|
|
|
|
|
hi all,
I'm working on an Ajax enabled web site ,i almost finished doing that,
and i tested every page i have finished it , suddenly i found that the Ajax is not working in all of the finished pages why is that happening , it was running fine ?
|
|
|
|
|
What is the actual error
Cheers!!
Brij
|
|
|
|
|
Are you using Ajax Toolkit or writin your own javascript for AJAX?
|
|
|
|
|
m using Ajax Toolkit "Script Manager, Update Panel , Update Progress"
and there is no error at all ,it works fine but without the functionality of the of the update panel. i will try to install IE7 "which it was working without it" and re install Ajax Toolkit!
|
|
|
|