|
Do you mean that you want to reduce the height and width of the pop-up window?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Vanamaindia wrote: I want to show the aspx as small window how it is?
Small window ? Window size you can't define until you are not opening the window. If you are opening window using some script, you can size it. But that won't be applicable for starting page.
|
|
|
|
|
You can use java script function window.open
e.g. window.open(url,'myWin','width=700, height=500, top=200, left=300, toolbar=0, menubar=0, location=0, status=1, scrollbars=1, resizable=0, parent=1');
|
|
|
|
|
I have simply One listbox in that page.So I want to decrease the window size
|
|
|
|
|
As far my knowledge it is not possible you can't change the current window size.
you can open a new window using javascript of size you want
window.open('testpage.htm','null',"height=500, width=600,status=yes,toolbar=yes, menubar=yes,location=no");
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... "
|
|
|
|
|
Vanamaindia wrote: I want to decrease the aspx page size ..How can i do??
Disable the Viewstate of the aspx page...
<%@ Page EnableViewState=”false” %>
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
I want to draw an image online[on webpage] and save it using asp.net.
I want to know the component for this kind of designing.
e.g visit http://www.seton.com/seton/w2w/showW2WAppAction.do?spacecode=CO4
Do good and have good.
|
|
|
|
|
hi
I have taken one image control("image1") in the form("frmForm1.aspx").Now i want to one image ("mypic.jpeg") whose size is larger than the image control i.e image1.When i run the program, the image control takes the size of the image mypic.jpeg.But what i want is that the image mypic.jpeg fit in the image control along with its size.I mean the image mypic.jpeg should expand if it's size is smaller than image control and should contract if it's size is larger than image control.But the size of the image control shouldn't be changed. So, how can i do this ??? Currently, i am using ASP dot net 2005 using C# dot net ..
suchitamanandhar@hotmail.com
|
|
|
|
|
According to me image control automatically manage it. Did you test it ?
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
yes, it worked but i dont know how it worked...Actually at first,the same code hasn't worked but later, it worked ..Anyway thanx.
suchitamanandhar@hotmail.com
|
|
|
|
|
Have you set the Width and Height property of the Image control?
Regards J O H N
"Even eagles need a push." David McNally
|
|
|
|
|
Hi frds pls solve my doubts and reply back with your valuable answers
1.Difference between container.dataitem() and databinder.eval(),Eval() ?
2.Where garbagecollection starts in .Net? How garbage collector know which objects are no longer refered?
3.If we create more non clusteredindexes then what will happen is it advantage or disadvantage?
4.Difference between response.clear and response.flush()?
5.class a
{
method a()
{}
}
class b:a
{
method a()
b ob=new b();
ob.a();
}
which method get calls?
Thanks to all
|
|
|
|
|
The problems are these:
If you both don't know this stuff, and don't know enough about using the web to find the answers, then no matter what answers we give you, you won't pass your interviews due to other questions you get asked.
So many people make the mistake of thinking if they can fudge the interview, that's what matters. Knowing your stuff is what matters, and these are basic sort of questions.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
siddisagar wrote: Difference between response.clear and response.flush()?
First one clears the buffered HTML. It won't clear the headers. Later send buffered output immediately
siddisagar wrote: How garbage collector know which objects are no longer refered?
Google for how objects are stored in memory before you go for garbage collection
siddisagar wrote: class a
{
method a()
{}
}
class b:a
{
method a()
b ob=new b();
ob.a();
}
Why don't you write an application and experiment this ?
|
|
|
|
|
Hi,
I want to draw lines on GridView control in asp.net 2.0. I know that drawing lines is now easy with the Drawing namespace. My actual problem is to convert already rendered grid view to an image and then draw lines on that image.
This should be possible in some way, I think. Can any one of you guide me in this regards.
Thanks !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
You don't want to do that. You want to make the gridview owner drawn and then draw the lines directly onto the control. Otherwise, none of your control will be interactive, you'll just be showing a bitmap.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi Christian,
Thanks for the reply, first. What I want is to draw lines between some of images which are already in the GridView control. No matter it is in bitmap format. I only want to make it visible and then print the image. Actually, there will be a button to generate this image on fly.
Hope you got me. Any links will be appreciated.
Thanks !
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
coolestCoder
|
|
|
|
|
Hi friends,
can you please tell me whether there is any control/tool available for asp.net where whatever i will write/paste that will be stored in data base in the same format.Suppose i am pasting one table inside that then i should be able to get the table exactly same.The tool will be very much similar to the editor we use in this site for posting questions and answers.
satyaki mishra
|
|
|
|
|
satyaki mishra wrote: i should be able to get the table exactly same.The tool will be very much similar to the editor we use in this site for posting questions and answers.
do you mean a WYSIWYG ? Check this http://www.fckeditor.net/[^]
|
|
|
|
|
You can hook up controls to automatically do that, but no-one does that if they are writing real software. They have a proper data layer which they call with those values.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Hi All,
I prepare two pgms in ASP.NET and i want to call the .EXE file in one pgm from another pgm.
Plz help.......
Thanks & Regards
Yogesh
|
|
|
|
|
yogesh2058 wrote: I prepare two pgms in ASP.NET and i want to call the .EXE file in one pgm from another pgm.
EXE file of ASP.NET application ?
ASP.NET application won't make any EXE file. Do you mean invoking another EXE file ?
|
|
|
|
|
ASp.NET runs on the client machine, so your exe won't be there, and in any case, a web page can't launch other programs, that would be a security nightmare.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
I want to show the history in the same format which is typing in the admin side.In the admin side i used textbox for typing the History,i written two ,three paragraphs from the admin side and save it.i will get correctly with the same format in the admin side,while saving am not using any trim.in the webside i used some controls label,table,datagris,datalist and textbox if am using other controls except text box this display continously.it will show like paragraphs.but when am using textbox i will get correctly.i don't want use textbox.why it is coming like this.is there any solution
|
|
|
|
|
Kurian_Kurian wrote: if am using other controls except text box this display continously.it will show like paragraphs.but when am using textbox i will get correctly.i don't want use textbox.why it is coming like this.is there any solution
Datatgrid/Label will render the contents as plain HTML. When you type on textbox, it will have newline characters (\n). This won't be rendered correctly. That is making problem. So you need to replace \n with <br> to show the details correctly.
|
|
|
|