Monday, March 26, 2012

tabpage control in web.ui?

is is possible to have/implement a tabpage control (should look & work similar with the windows form one) in the webpage?For IE only, you may be interested inMicrosoft's TabStrip control ... which is part of theirIE Web Controls collection.

For a cross-browser solution, you could useCSS tabs.

I hope this helps.
Microsoft has provided a web tab control. This is available at
http://msdn.microsoft.com/library/default.asp?url=/workshop/webcontrols/webcontrols_entry.asp

This control needs to be downloaded and installed.

Thanks
oh, i never knew i can download these controls.
how about MessageBox, confirm, and prompt? these can only be done using javascript now.
does microsoft provide them also? seems i can't find them yet.
thankx a lot.
I'm not aware of any thing other than JS.
In newer versions of IE, there is a JS function for showing window as a Modal Dialog. You may look into JS syntax for "showModalDialog"

Thanks
to add a message box (say, confirm a delete)add your button as normal

 <asp:Button id="btnSave" runat="Server"> </asp:Button>

Then in your code, you can add an attribute
btnSave.Attributes.Add("OnClick","javascript: return confirm('Are you Sure?');");

Hope this is what you were after.

0 comments:

Post a Comment