Make panel appear outside browser window?

S

Simon Storr

The Microsoft CRM has custom combo boxes and date calendar controls that pop
up outside the current window in a floating panel (they DON'T open a sub
window in the normal way - there's no title bar for a start). How do they do
it? I want to do the same thing in my web app but can't find any info on how
to do it... Anyone know how its done!?

Thanks,

Simon
 
K

Kevin Spencer

View the source code and read the JavaScript.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
S

Simon Storr

I've naturally had a look at the code, but I can't see anything at all to do
with showing panels... I think they might be using htc behaviour scripts
though which I have 0% experience of :eek:/
 
K

Kevin Spencer

If you can post a link to the page you initially found this on (originally)
I might be able to help.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
S

Steven Cheng[MSFT]

Hi Simon,


Thanks for posting in the community!
From your description, you're wanting to implement the effect of the date
calendar or combox control in CRM. Also, you 're looking for a certain
approach to do it via clientside javascript?
If there is anything I misunderstood, please feel free to let me know.

Based on my research, such CRM controls as date calendar or combox you
mentioned maybe quite different from those in the ASP.NET web servercontrol
collections. The ASP.NET web servercontrols are generally rendered out as
html element and with some javascripts. I agree with you that the CRM
controls may have made use of some other layout techs such as htc script or
even some other rich client features. I think you may try look through the
page's html source to see which there're any infos on such help files. For
example, script resoure links or activex object blocks?

Please check out the suggestion. If you have any questions or need any
assistance, please feel free to post here.



Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
S

Simon Storr

Thanks for the reply - I managed to get it to work using showPopup - the
original CRM code date.js which I based my code on in the end didn't use it
though, but I managed to get it to go. The key to getting it to work was
realising that I had to use a parent reference to the page from inside the
popup. showPopup rocks :eek:)

Thanks,

Simon
 
S

Steven Cheng[MSFT]

Hi Simon,


Thanks for your followup. I'm very glad that you've solved the issue
yourself. I'm sure you'll be proud of yourself. In addtion, we'd appreciate
if you'd like to share us your solution on this issue. Thanks.




Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top