|
Hi
This can be achieved with the help of some CSS and ofcourse A Javascript.
U can Take Two Tables.
For Instance One for Storing An Icon[Image] and it will hold the Title for ur table, On which you are going to click[This table has hight approximatly 22px and we can use a div tag for firing a javascrip here and an Image which] and Second table which is going to lied Exactly beneath the Upper table,
And this table is made for Expand/Collapsible and all the controls and other things are going to put in this table.
i think this will be better...
any doubt.....
Believe Yourself™ :->™
|
|
|
|
|
Hi to all
I have check date in textbox using regular expression validator and my
format is (MM/DD/YYYY) but if user select date from calender control
and if the select date is 1/1/2008 then it display error message because
i specified the format is (MM/DD/YYYY)
Thanks.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
modified on Thursday, February 07, 2008 4:44:36 AM
|
|
|
|
|
|
Thanks Guffa
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Did that link worked?
Believe Yourself™ :->™
|
|
|
|
|
I am working on that. But i have one query. If i select date from
calender control then it show selected date as 1/1/2008 but
i want to show it as 01/01/2008. How can i do this.
If this worked problem get solved. i have use regular expression
to check again date format.(MM/DD/YYYY)
Thanks.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
Is it MUST condition? -> 01/01/2008.?
The thing is same if u enter 1/1/2008.. This is also feasible? What u say?
I m thinking for ur 01/01/2008 problem?
calender is suppose to show only that,
For that Problem i have to go across the huge jscript code. Let me try for that,
Don't forget to give reply.
Believe Yourself™ :->™
|
|
|
|
|
Thanks Gandalf - The White,
For your help.While selecting date from calender control i have
specify the format as (MM/DD/YYYY).
I have done it.
Rahul.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
It's Good U have done it ....
Now check for the validations. Are that Correct?
If any problem i will guide you.
Have a good day.
Believe Yourself™ :->™
|
|
|
|
|
Hi
Yes i have checked everything. Its working fine.
Thanks for your kind reply.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
hello....
I m developing one web site in which i want donot want to use updatepanel is is there any other option like javascript or else.....
please help me.
|
|
|
|
|
Your question is incomplete ..
Why you don't want to use updatepanel ?
Do you need to update the page from server side ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
I think ur question is not yet completed. That drives no question
I think u don't want ur page to postback?
Is it so?
Believe Yourself™ :->™
|
|
|
|
|
Hi,
I am stuck I cant find a simple example of Using Windows Forms Controls in Internet Explorer written in VB.net 2.0,
i want to build a bulk emailer that will run in a web-browser on the client side that will get the email addresses and email message to send from the previous asp.net webpage, like an activex control but cant find anything in wriiten vb.net and all the C# things I have found are overly complicated and dont covert to vb too well.
Anyone who could point me in the right direction would be greatly appreciated I have spent 2 days searching the net and cant find anything of any use.
Thanks i advance
|
|
|
|
|
GDMFSOB wrote: and all the C# things I have found are overly complicated and dont covert to vb too well.
Odds are they are as complex as they need to be. 100% you can convert them to VB and they will work fine.
To use windows forms controls, you need to write a browser plug in, you can't just add them to a web form like you do a web control. And it will mean your users will need to have .NET installed.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for the reply,
you said : "you need to write a browser plug in", this is completely new tech to me I am used to writing iether a standalone app or a asp.net webpage, not mixing the two and dont know where to start, i just tried writin a user conotrl, compling and then added this <object width="430" height="352" classid="OCTBulkMailer.dll#UserControl"></object> but all I get a a blank looking image place holder, LOL I know I must sound a bit like a retard but its like showing me a car and handing me the keys but I dont know what a car is or what it does.
|
|
|
|
|
To be honest, I've never written a control to be consumed by .NET, because it's a little user hostile, IMO.
http://msdn.microsoft.com/msdnmag/issues/02/01/UserCtrl/[^] looks like what you need.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi Thanks Christian, I saw that article already and but its in old .net and needed to be converted the converted version does not work so it looks like this stuff has not be covered on .net 2 yet i will carry on looking thanks for your input so far
|
|
|
|
|
I have a related question. I am sure VB 6 has ActiveX Control support. But my generic queries are:
1) Compared to developing in VC++ or MFC, wouldn't this mean by dependency on VB Components. I have a weak doubt that controls made out VB need VB Runtime Library or something like that (Pardon me for my bad memory that I could not recall)
2) Wouldn't there be any pitfalls having a control engineering out of VB compared to a control from MFC?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
well my understanding is that ActiveX has been discontiued in .net and using windows forms controls is supposed to be the way to do it, but if I am going to run into problems with running on non windows system this will not be good, so anybody who know please give your input last thing I want to do is build this thing and it doesnt work accross the bourd, what about using the .net framework on the server to run the app on non windows systems?
|
|
|
|
|
GDMFSOB wrote: ActiveX has been discontiued in .net and using windows forms controls is supposed to be the way to do it
They can not do that outright. Not everyone would be capable or interested to download a huge bloated 23 MB runtime to view a little control.
GDMFSOB wrote: with running on non windows system
This question itself should not come into this discussion. Since both the solutions we are trying to focus on (Windows Forms Vs ActiveX) are only for Windows Internet Explorer. Other browsers on Windows as well other platforms may be totally ignorant of these technologies.
And regarding my query to Graus, my only apprehension was whether a control through MFC VC++ and VB would be identical or any pitfalls would be there?
Without any preconcieved notions and prejudices, if we are trying to get a cross-platform cross-browser solution, I feel that we have to take the Java Applet route. There might be a vote down of this view. But I would appreciate, if some one votes down also clarifies and illuminates the arena.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
You can actually create ActiveX controls in .NET, ActiveX is just COM. But, there's no point, that I can see.
GDMFSOB wrote: but if I am going to run into problems with running on non windows system this will not be good
By definition, a windows forms control is not going to run outside of a windows machine.
GDMFSOB wrote: what about using the .net framework on the server to run the app on non windows systems?
Not possible - the control is not running on the server. Your server has .NET by default, if the pages are ASP.NET, but the client needs it also to run a .NET control locally.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Yes, I work on a site which has a VB ActiveX control, and users need first to download the VB runtime before they can use it.
Vasudevan Deepak K wrote: Wouldn't there be any pitfalls having a control engineering out of VB compared to a control from MFC?
Only that VB sucks
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thank you. That was a good eye-opener.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|