|
if you dont want the scroll bar you can use
"scrolling=no" attribute in to a frame
I dont know, is this you are expecting...
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
ya if u give scrolling="no" it will not show scroll bars...,
But if u give like that,in that details page some of the information will be hide...,
My question is, if i give scrolling="no" also.., what are the things i have in that page everything want to be diplay with in that frame...,
Magi
|
|
|
|
|
Hi,
That is based upon how you are aligning the data in the page for display, and also the size of data...
did you try?did you stuck anywhere?
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
No actually,if user system resolution will change also..,
based upon it want to align with in the frame.....,
Magi
|
|
|
|
|
Hi friends
I have one dropdownlist populated by country names.
When I select country from dropdownlist,i am getting following error.
plz solve my problem
Invalid postback or callback argument. Event validation is enabled using <pages enableeventvalidation="true"> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.
Thanks in advance
Pathan
GOD HELP THOSE WHO HELP THEMSELVES
|
|
|
|
|
hi..
i have a textbox containig 100 lines...
i have scrollup the text automatically on load()...
rgs
Bala
|
|
|
|
|
hi,
I think when we focus on the text box it will automatically scroll to top.
To succeed, we must first believe that we can.
Sherin Iranimose
|
|
|
|
|
hi..
assume there is 100 records in datagrid.. am updating ,deleting and modifing few records...
i have to reflect d changes in database and also i know the changes made in datagrid...
rgs
Bala
|
|
|
|
|
How can I add two numbers without using + operator.
|
|
|
|
|
My frist questen would be, why you can't use
the "+ operator" ?
The only thing that I got in mind is
to go through a for-loop, increasing
the number every time.
But this won't help either, you have
to use the "++ operator".
sorry, that I can't help
I would say, that is not possible, but I'm not sure.
greetings, pdluke
|
|
|
|
|
Thank
Actually it was a question asked by some one from me in interview. Any how thank u
|
|
|
|
|
|
Iam new to ASP.Net 2.0 I want to know how to change the position of any control (Text box, label etc) from one place to another place. Iam unable to drag the control.How is this possible?
Thanx in advance
|
|
|
|
|
Where you want to drag the controls ? In designer or at the runtime in browser ?
|
|
|
|
|
Hai prasanna
U do this --Go to Tools-->Options-->here u willl find a herarchy of Options like Environmet,Performence tools,....HTML Designer click it---->Choose
CSS Positioning-->Check both the checkboxes -->click OK
now u can place the controls where ever u want
|
|
|
|
|
Hi Yuvachandra, Thank you for your reply
|
|
|
|
|
I am new to asp.net 2.0 and i am badly confuse....Any help which can point me in a correct direction...
When we should use SqlDataSource and when we should ado.net datareader etc...What are the criteria to choose.....
Please help...
Amit
|
|
|
|
|
The SqlDataSource control allows a developer to access data stored in any relational database that supports ADO.NET. It can use the System.Data.SqlClient provider to access a SQL Server database, the System.Data.OleDb provider, the System.Data.Odbc provider, or the System.Data.OracleClient provider to access Oracle. Therefore, the SqlDataSource is certainly not only used for accessing data in a SQL Server database.
In order to use the SqlDataSource, you simply provide a value for the ConnectionString property and specify a SQL command or stored procedure. The SqlDataSource control takes care of working with the underlying ADO.NET architecture. It opens the connection, queries the data source or executes the stored procedure, returns the data, and then closes the connection for you.
Regards,
Satips.
|
|
|
|
|
Thanks...But when we should go for SQL DataSource option vs command/datareader/dataset in real world...
|
|
|
|
|
What container control do you use on a page
to hold the embeded COM object from a RCW?
Thanks,
|
|
|
|
|
What's the COM type you're trying to embed? Does it spit out it's own HTML or does it depend on a plugin to display in a browser? In either case, you're better off creating a user control to hold your embedded control so that you have greater flexibility in managing the output to the browser. If it's not plugin based, you can just put it within a DIV.
SG
|
|
|
|
|
You're talking WAY over my head. It displays just fine in the
<object> shown below. I guess that means it gens it's own HTML?
..within a DIV...like this?..this is still at design time.
How do I reference it from the code behind? I need to capture
the selectedIndexChanged event and process it there. The version
below (- the Div) uses VBscript in the Window_Load event.
<object classid="clsid:D76D712E-4A96-11d3-BD95-D296DC2DD072" height="154"
="" id="fg" style="LEFT: 0px; TOP: 264px; position: absolute;" width="438">
Thanks for helping..
|
|
|
|
|
Check the "Ignore HTML tags in this message" checkbox the next time you post some HTML.
The answer to your question is No. The design time "object tag" is no assurance that your control emits it's own HTML. Let me give you a simple example.
When you embed a Flash movie in your web page, you only get to see the "object' tag during design time. And Flash player does not emit any HTML on it's own. When a client requests your webpage, the browser looks at the "Object" tag, reads the clsid and finds if it has a suitable plugin to parse the object. It'll find that the clsid matches that of the Flash player. It then substitutes the actual flash player in the browser in place of the "object" tag. In other words, the player you get to see in the browser is installed in the "client" computer.
An example of COM controls that emit their own HTML would be the various chart controls, grid controls and maybe even Crystal reports(Im not 100% sure of this) that just remains a gray object during design time and metamorphosizes into colorful HTML in runtime.
As to whether you can reference the control in code behind, I'm not very sure of this. It depends on how your COM control was built. I know that you can control Windows Media Player plugin at runtime using vb Script. I'm pretty sure that you can also do it from the code behind classes, although I believe that you need to explicitly convert the control using CType or something similar before you can use it's properties. But as I said, I'm not too sure of this.
Hope this helps.
Regards,
SG
|
|
|
|
|
WOW!..are you GOOD or what?!..using the clsid from my 1st
message, can you render the page completely?..I have an
.aspx that shows the grid, but I also have the DLL installed
there, as I'm testing on the same machine I develope with. I
can access the events of the grid only using VBScript, since
(OBJECT) isn't visible to the code behind, but VBScript
is real unreliable..
Sub grd_SelChange
This works:
if true then grd.(property)=123
This doesn't:
if a=1 then grd.(property)=123
end Sub
does (a /the) grid (as you suggested) emit HTML itself..??
Try putting a standard COM object with a UI from Windows
(DbGrid):
Dim Grd As New DbGrid
on a code behind(.VB) and see if you can "connect it" to the
.aspx I would be happy to do either early or late binding,
but I'd rather do late, if I need to so I can handle its events
in the back end, and avoid using VBSript. I have limited
experience with VBS, but it can't see global vars or methods,
session objects or even app objects??..or am I doing something
wrong?
|
|
|
|
|
Since it looks like you're using a Grid control, I'm sure you can access it's properties using late binding. Perhaps you can try
Dim Grd as new DbGrid
Grd = Ctype(Page.FindControl('Your Grid ID'), DbGrid)
I think you should be able to get hold of your actual grid.
I dunno if the "Object" tag supports the "runat" attribute. The above code will fail if not so.
Best of Luck!
Regards,
SG
|
|
|
|