hello, everyone,
I build one tree menu using TreeView webcontrol , everything is ok, from
tree node click, one sub-frame(main) can refresh its content with new url.
My question is, I have another sub-frame(message), message frame and main
frame cannot be shown at the same time, so I wonder, when the message frame
is visible, how can I add the Javascript to tree-node click, to switch the
main frame to visible ?
in my code, I've build two JavaScript funtion as SwitchToMessage (),
SwitchToMain(). Where can I add "SwitchToMa in" before tree-node click
event ?
I tried to use " node.Attributes .Add("onclick",
"javascript:Swi tchToMain()", but it seems that node doesn't have
Attributes.
Please help me, and if someone have the alternate solution, please notify
me, Thanks!
Wait online,
Edward 1 1277
the answer is , change TreeNode's url to some javascript, it's ok.
The question is canceled. hello, everyone,
I build one tree menu using TreeView webcontrol , everything is ok,
from tree node click, one sub-frame(main) can refresh its content with new url.
My question is, I have another sub-frame(message), message frame and
main frame cannot be shown at the same time, so I wonder, when the message
frame is visible, how can I add the Javascript to tree-node click, to switch the main frame to visible ?
in my code, I've build two JavaScript funtion as SwitchToMessage (), SwitchToMain(). Where can I add "SwitchToMa in" before tree-node click event ?
I tried to use " node.Attributes .Add("onclick", "javascript:Swi tchToMain()", but it seems that node doesn't have Attributes.
Please help me, and if someone have the alternate solution, please
notify me, Thanks!
Wait online,
Edward
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Patrick Olurotimi Ige |
last post by:
I use a TreeView WebControl Menu which i installed from microsoft.
But the TreeView XML that can be loaded with the Webcontrol is very
specific.For example (The root as to be TREENODES!!):-
<?xml version="1.0" encoding="utf-8"?>
<TREENODES>
<TreeNode Text="Contracts">
<TreeNode Text="Contract Pads" NavigateUrl="a.aspx"
target="_blank"/>
<TreeNode Text="Points Deduction Report" NavigateUrl="a.aspx"
target="_blank"/>
|
by: clintonG |
last post by:
I'm just wondering how rich the TreeView control actually is having never
worked with a tree view control.
I want to load XML into the tree and I'd like control of the presentation
tier by getting rid of the folder icons. In fact if possible, I'd like to
display the name of each node as a literal representation of the node
itself, i.e. <title> or <link> as the case may be. I also wonder if this
particular control supports nested...
|
by: Manny Chohan |
last post by:
Hey Guys,
Quick question....how can we learn to make something like wat we have in
MSDN Newsgroups forums. Something like clicking on + sign to see replies and
click on a row and display the whole description of question/answer?
Something like wat you are looking at right now.
Just curious...is there any article that shows how to get this done.
Thanks
|
by: Hutty |
last post by:
I would like to convert the code below into an asp.net application where I
can run it via the web. It works ok for vb.net, but my goal is to do it
through the browser. I have in a few areas, in particular the
"application.startuppath" where it's not part of the System.Web.
HttpApplicationState. Another area is "trv.Nodes.Add(text_line.Trim())"
where value of type string cannot be converted to
Microsoft.web.ui.webcontrol.treenode. ...
|
by: Charts |
last post by:
I download IEWebControls.exe, and installed it. Installation created IE Web
Controls directory. The readme.txt said,
3. Create a /bin subdirectory for the application and copy the file
Microsoft.Web.UI.WebControls.dll to this directory.
However I could locate Microsoft.Web.UI.WebControls.dll. Actually I could
not find any DLL under the directory tree created by the install program.
| |
by: viktor9990 |
last post by:
I need to add, delete and move up and down hierarchical information in a
treeview webcontrol. (all data is saved in Sql server database and must be
shown dynamically in a treeview webcontrol (SDK 1.1) when the user clicks the
appropriate button near the relevant node). Do you have any idea how to do
that? Any example code? which methods or properties are helpful to solve the
problem? Thanks.
|
by: Jonas |
last post by:
Hi.
I'm trying to develop a web custom control that uses a programmatically
created treeview.
My problem is that I get an exception when I try to render the control.
With properties do I have to assign to get this working.
Here is some sample code:
namespace WebControlLibrary1
{
|
by: GroupReader |
last post by:
When doing a "callback" I normally call a webControl's RenderControl
method to get the html for that WebControl.
This has always worked great in the past, but it does not seem to work
with an asp:treeview control.
When I call MyTreeView.RenderControl, the html that I get is not what
I expected - it's as if all of the styles and properties that I set on
the treeview are not there. Is this a bug in the treeview control?
|
by: GroupReader |
last post by:
When doing a "callback" I normally call a webControl's RenderControl
method to get the html for that WebControl.
This has always worked great in the past, but it does not seem to
work with an asp:treeview control.
When I call MyTreeView.RenderControl, the html that I get is not what
I expected - it's as if all of the styles and properties that I set
on the treeview are not there. Is this a bug in the treeview
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |