Showing posts with label pages. Show all posts
Showing posts with label pages. Show all posts

Monday, March 26, 2012

Progress Animation

Does anyone know where I can get that cool progress arrow animation for my ATLAS pages?

I saw a guy in one of the MSDN videos using it...i just thought someone might know where i can snag it...

thanks!

doug

http://www.napyfab.com/ajax-indicators/


SHA-WEEET!

thanks man!!!

Property Page for Controls?

Ok, I may just be a complete idiot, but are there extended property pages available for the controls in the toolkit at design time?

For instance, the PasswordStrength extender has a property calledTextStrengthDescriptions but as far as I can see, it is not on the properties page.

The documentation states it is initialized with this code:

<ajaxToolkit:PasswordStrength ID="PS" runat="server" TargetControlID="TextBox1"DisplayPosition="RightSide"StrengthIndicatorType="Text"PreferredPasswordLength="10"PrefixText="Strength:"TextCssClass="TextIndicator_TextBox1"MinimumNumericCharacters="0"MinimumSymbolCharacters="0"RequiresUpperAndLowerCaseCharacters="false"TextStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent"TextStrengthDescriptionStyles="cssClass1;cssClass2;cssClass3;cssClass4;cssClass5CalculationWeightings="50;15;15;20" />

But for the life of me, I cannot find this block of code anywhere - so I end up having to set the values in code. Can anyone tell me where the above init code is located or how to access the other non-displayed properties of a control in the designer?

Thanks!

Hi,

Please download the sample applicationhere, then open the PasswordStrength.aspx page, you will find it in the html source.

Saturday, March 24, 2012

Question about the ScriptManagerProxy

I have a question about the ScriptManagerProxy control.

I have a .master page that uses an UpdatePanel with a ScriptManager and I want the child pages of this MasterPage to be able to use an UpdatePanel control also. I can't have another ScriptManager control on the child pages so how do I use the ScriptManagerProxy control to point to the ScriptManager on the MasterPage? Is this possible?

Thanks

Hi,

the ScriptManagerProxy is used to add references to script files and web services, but nothing prevents you to use an UpdatePanel in a child page, if you have the ScriptManager on the master page.


Oh okay. So I don't even need a ScriptManagerProxy control. I can just use the ScriptManager that I have in the .master page. I'll try it out and then let you know how it goes...Thanks!

I did what you said (pretty simple and easy, I was making it too complex) and it worked great! But, I didn't/don't have enough knowledge about the UpdatePanel that this was not exactly what I wanted it to do. I'll try to explain it as best as I can.

On my .master page I have a menu with several hyperlinks. All of these hyperlinks point to the same page (links.aspx which is a child page of the .master page) However, these hyperlinks carry with them a QueryString of data that will very depending upon which hyperlink the user clicked on. What I want to happen is this: When a user clicks on a hyperlink on the menu it will just update that part of the site with the new data that is brought in in accord with the QueryString and does not refresh the entire page. I think it might have something to do with the triggers in the UpdatePanel. Does this make any sense?

Thanks,

Wednesday, March 21, 2012

Question about the slider extender control and "hiding" the textbox it extends

Copied and pasted from the interactive sample pages, under slider tips:

TextBox visibility. The asp:TextBox that the Slider is upgrading will be visible during the page loading, so it is usable if JavaScript is not enabled on the browser. Depending on your requirements, you can prevent the asp:TextBox from being visible by setting its display mode to "none".

However, there is no display mode or displaymode property for the textbox control, nor for the slider extender. How then can I prevent the textbox from being visible while the page is loading?

Another question: is there a way to set the slider to enabled = "false" where it would show the value (e.g. the slider being at the middle of the rail for a value of 50%) without it being movable? I tried setting the textbox to enabled = false. The slider looks somewhat grayed out, but you can still click on the slider and move it. Thanks a lot.

Hi,

1) display is a CSS attribute. you should set display:none on the extended TextBox.

2) At the moment the slider can't be disabled, but this is a good suggestion.

Thanks.


Ah thanks. Forgot about the css attribute for that.

As for the slider not being enabled or disabled, I guess I'll just make it invisible for now.

question about updateprogress control

Hi Everyone,

I'm building my first pages with AJAX. I have added a two updatepanels. One has the selections for my users searches, the other the viewgrids with the information they get back. It all works great. One option in for the viewgrids is to have the first column show as a link, and that brings back another smaller grid with the detail list for that selection they've clicked on. Works great -- brings back the info. I've added a updateprogress control to let them know the page is working when the click and it works great. Only problem I am having is that the updateprogress control is up above my main grid. If they are near the top, they see it, but if they are further down the page, they won't see it, plus they won't see the details grid when it is done building. Is there any way I can bounce them to the top of the report? Some sort of repositioning? How is this normally done?

thanks!

jekerry

You can try to use AlwaysVisibleControl, I think it will help you.

http://ajax.asp.net/ajaxtoolkit/AlwaysVisibleControl/AlwaysVisibleControl.aspx


That looks really good, only problem is that I am not sure how to get it added to my project! I have downloaded the toolkit to a folder on my harddrive, but have to admit I am not sure what do past that step.

thanks,

jekerry


Hello, please take a look athttp://ajax.asp.net/ajaxtoolkit/Walkthrough/Setup.aspx

Thank you! Just what I was looking for but somehow hadn't stumbled across.

jekerry