I need to create a page that holds a treeview on the right and an iframe that displays the page based on the node click , nodes are fetched from the database , by far the programing part is done , and I am using bootstrap , but the problem is the iframe
is not 100 % fitting as well as when i resize the page , the column containing the treeview has padding space, I will only share below my HTML BOOTSTRAP CODE , hope someone can help .
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Hello , this is exactly what I wanted thank you so much.
but I still have a small question , if i want on resize ( when screen is adjusted for tablets or phones ) to transform the tree into a combo box , and hint ?
For your problem, you should have treeview(visible) and combo box (invisible)in your page
Then to make combo box visible when screen is adjusted for tablets or phones
Following code is helpful for you:
$(window).resize(function() {
// This will execute whenever the window is resized
$(window).height(); // New height
$(window).width(); // New width
});
Best regards
Cathy
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
17 Points
70 Posts
Treeview on right iframe on left bootstrap
Oct 10, 2017 07:30 AM|NAF|LINK
I need to create a page that holds a treeview on the right and an iframe that displays the page based on the node click , nodes are fetched from the database , by far the programing part is done , and I am using bootstrap , but the problem is the iframe is not 100 % fitting as well as when i resize the page , the column containing the treeview has padding space, I will only share below my HTML BOOTSTRAP CODE , hope someone can help .
Star
8670 Points
2882 Posts
Re: Treeview on right iframe on left bootstrap
Oct 11, 2017 05:46 AM|Cathy Zou|LINK
Hi NAF,
Are you want something as below?
Best regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
17 Points
70 Posts
Re: Treeview on right iframe on left bootstrap
Oct 11, 2017 05:53 AM|NAF|LINK
Hello , this is exactly what I wanted thank you so much.
but I still have a small question , if i want on resize ( when screen is adjusted for tablets or phones ) to transform the tree into a combo box , and hint ?
Star
8670 Points
2882 Posts
Re: Treeview on right iframe on left bootstrap
Oct 12, 2017 02:31 AM|Cathy Zou|LINK
Hi NAF
For your problem, you should have treeview(visible) and combo box (invisible)in your page
Then to make combo box visible when screen is adjusted for tablets or phones
Following code is helpful for you:
Best regards
Cathy
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.