|
Hi
I am using WebPanelBar and I defined frame for my form.I want to set Target for each Page in WebPanlebar1.can any body help me to solve this problem.
and this Article had written by "yanhao"
|
|
|
|
|
编译DEMO时出现如下问题:如何解决!
未能找到引用的组件“YHControlFamily.WebPanelBar”。
D:\Inetpub\wwwroot\TestPanelBar\WebForm1.aspx.cs(19): 找不到类型或命名空间名称“YHControlFamily”(是否缺少 using 指令或程序集引用?)
|
|
|
|
|
why i cannot find the strongkey.snk in your source code?
so how to compile the project to get YHControlFamily.WebPanelBar.dll?
|
|
|
|
|
How to register as COM server?
|
|
|
|
|
Could you please provide some more info on how to configure the menu via XML? I looked through .htc file and couldn't really see how to do this.
Thanks!
|
|
|
|
|
Maybe I'm just being ignorant but it looks like the only way the change the Fonts for the menu is to go to the source, make your changes and recompile ? Seems like a better idea would be to take all that format code out of the WebPanelBar.cs file and instead just write out a link to a CSS file.
So instead of the line:
-----------------------
sb.Append("\n");
Couldn't it be :
------------------------------------------------------------------------
sb.Append("<LINK href='menustyle.css' type='text/css' rel='STYLESHEET'>\n");
Then you could just manage the styles by the stylesheet. Just a suggestion.
|
|
|
|
|
thanks for this suggestion, I will do this next day.
|
|
|
|
|
When I try to open zip file it says is a damaged zip file...
|
|
|
|
|
I test zip file, it seems ok.
|
|
|
|
|
Hi,
I think you can try an utility called Advanced Zip Repair to repair your Zip file. It works rather well for my corrupt Zip files. Its web address is http://www.datanumen.com/azr/
Alan
Chen Alan
|
|
|
|
|
Render the line
Groups="(Collection)" in html code
This corretly?
Esteves
|
|
|
|
|
This control does *NOT* run on NetScape 7 or Opera 6.05
so it can be useless on internet...
|
|
|
|
|
It use JScript and DHTML, i think it only use under IE5.x and above.
|
|
|
|
|
According to studies (no, not funded by Micro$oft) only 2 percent of the world's internet users use Netscape 4 and Opera 6/7. Now, I know your post said Netscape 7, but that's a buggy, slow chapter all on its own. Who the hell uses NS7? Preposterous.
Anyway. As a webdesigner, and webapplication developer (fancy words!) I know the meaning of being cross-compatible. I also know how damned futile it is, since Netscape (AOL, go figure), IExplorer (Microsoft, go figure again) and Opera (Norwegian. Need I say more?) all use -different- standards. And implement HTML differently. So, to try and cover this up, the WC3, or whoever, decided that "We should all use CSS for layout! Wohoo!", this in a failed attempt to hide the botchy jobs all three companies have made of making webbrowsers. Now, IExplorer is good. Opera might be good too, I've only used it a bit, but the fact still remains, IE is bigger than Opera, and with the policies of companies all over the world to not install anything without the inhouse IT-department's say-so (being a corporate bitch sucks!), most workplaces use IE. Hence, most designs are for IE.
This said (lots of ranting text, la la), I'm NOT saying that IE is a better choice to code for, than Opera. (Notice how I keep leaving Netscape out of the loop - maybe because it IS out of the loop. AOL, sheesh.) It's just the smarter choice, cost-effectively.
Anyway.
|
|
|
|
|
I totally agree with you on the browser issue...
Not to mention differences between Netscape on Windows and Netscape on Linux.... it is a nightmare....
Just to make one point though, especially for e-commerce applications, you CAN'T forget about these people who use other browsers than IE.
They are potential customers and by not making the web site cross browser compatible you are missing out a few customers...
Note that big e-commerce sites (e.g. amazon) never use DHTML...
I am an IE fan... never liked NS.. Opera is not bad but still way behind...
I wish all other browsers vanished. The web would be more interesting and more interactive... But we (web developers/designers) have to make it accessible to everyone! AND IT IS A PAIN IN THE ***...
Regards...
|---------------|
| theJazzyBrain |
|---------------|
|
|
|
|
|
Very true! As a ecommerce site developer we use LiveStats to monitor who is on our site at all time and are able to break it down by browser. So to corroborate your numbers on browsers in the real world, we see anywhere from 4% and below for Netscape users (rarely see Opera) and we have over 200,000 unique visitors per month. So if it's worth it to you to code for the least common denominator at all times, by all means go for it. But in my humble opinion you would be working with one hand tied behind you back.
RB
|
|
|
|
|
I must say that firefox is gaining alot of users.
Secondly not even all internet explorers are equal. For instance the IE on Mac renders some things slightly different and executes som javascript slightly different than IE on win.
I strongly hate the tests we do on IE on MAC ther are differences that shouldn't be there!! I mean come on M$ its hard enough already with firefox, opera, and others...
My two cents anyway...
Greetz,
Cohen
|
|
|
|
|
|
Hi Yanhao.
The configuration of the panel is quite expensive. How about using a XML file?
Regards
Thomas
Sonork id: 100.10453 Thömmi
Disclaimer: Because of heavy processing requirements, we are currently using some of your unused brain capacity for backup processing. Please ignore any hallucinations, voices or unusual dreams you may experience. Please avoid concentration-intensive tasks until further notice. Thank you.
|
|
|
|
|
yes, you can also use extern xml file which include WebPanelBar data, just modify .htc file.;P
|
|
|
|
|
Looked thru the .HTC file, not too clear on what to change to render Menu from XML file. Could you please provide a little more detail ? Thanks, great control!
|
|
|
|
|
Why don't you make the method call of the component closer to .net framework convention? For example,
System.Windows.Forms.Button btn1 = new Button();<br />
System.Windows.Forms.Button btn2 = new Button();<br />
System.Windows.Forms.Button btn3 = new Button();<br />
this.Controls.Add(btn1);<br />
this.Controls.Add(btn2);<br />
this.Controls.Add(btn3);
or
this.Controls.AddRange(new Control[] { btn1, btn2, btn3 });
I think this would be more easy to understand and use.
ZhangZQ71
email:zhangzq71@hotmail.com
|
|
|
|
|
great idea, i will take it.
thx
|
|
|
|
|
做得很好。
email:zhangzq71@hotmail.com
|
|
|
|
|
could you update the article with a discussion of the implementation, and not just the usage?
Marc
|
|
|
|