Hi,
Since ultratoolbar control is retired from infragistics library 11.2 so i am using webdatamenu inside webdialog window control.
1.But I dont want the header of webdialogwindow, because in ultratoolbar we used a button to move the toolbar but in here how can i implement this thing,
If i align header vertically then it can be look like same as toolbar,i dont know how to do that.
2.Another thing is that web dialog window shows some white spaces around specified controls area how to remove this space.
Thanks in advance.
Regards,
Vivek
Hi Vivek,
Thank you for posting in the community.
Regarding the "white space" around the WebDialogWindow I can suggest that you modify the ig_dialogWindow.css file located by default in the ig_res directory. You can modify the following classes in order to remove the corners:
.igdw_BodyCornerTopLeft
.igdw_BodyEdgeTop
.igdw_BodyCornerTopRight
.igdw_BodyEdgeLeft
.igdw_BodyEdgeRight
.igdw_BodyCornerBottomLeft
The header of the dialog window can also be hidden using through the markup:
<Header Visible="False" >
Regarding using a button to move the dialog, I suggest that you take a look at the following sample:
http://samples.infragistics.com/aspnet/Samples/WebDialogWindow/Display/Positioning/Default.aspx?cn=dialog-window&sid=d4c10c68-d712-4258-9925-18485b6683d2
By using the MouseDown event of a button and the same principle as in the above example it should be possible to achieve the desired functionality.
Please feel free to contact me if you have any questions.
Please feel free to contact me if you have any further questions.
Hello Petar,
Many thanks for your efforts,but this solution is not appropriate for me,actually your idea is about click and move again click and move but i want a drag able thing in webdialog ,just like its header drag functionality. If you remember ultraweb toolbar ,it has a button to move the whole toolbar.
Looking forward to hear from you.
Thanks,
Thank you for your reply.
After further researching the matter, there does not seems to be a direct way to associate a control to serve as a dialog window's moving controller. I have created a custom solution for you to demonstrate how an input may be used to drag the dialog window using javascript. Note, however that this is a custom approach and may not be fully optimal.
Please let me know if you have any questions.
Hi Peter,
Your solution worked for me but i was looking this feature in inbuilt control.Why infragistics removed these controls even they do not provide same solution. This is not about for one control they have change many. You should remember functionality of previous control while replacing it,other wise we are wasting a lot of time in using your controls.
Thank you for your feedback. Please note that you can find more information regarding the toolset transition at:
http://blogs.infragistics.com/blogs/taz_abdeali/archive/2011/11/17/asp-net-product-changes-in-2011-volume-2.aspx
Feel free to contact me if I can be of further assistance.