Showing posts with label properties. Show all posts
Showing posts with label properties. Show all posts

Monday, March 26, 2012

Design properties not available

When I follow the the sample video "Get Started with Atlas Control Kit" located at http://download.microsoft.com/download/e/8/f/e8fda3e9-3504-46e6-b032-a1744ed331bd/HDI-AtlasControlToolkit.wmv

I seem to have a problem. All is well until I try to access the Button after droping a ConfirmButtonExtender onto the page. It looks to be ok but when I try to open the design property for the button - ConfirmButtonExtender; nothing happens. Well, I take that back the little plus sign disappears. I would expect it expand and show the the CssClass and ConfirmText fields.

I get the same behavior when I try the TextBoxWatermarkExtender, but with that I get no expanding design properties for the TextBoxWatermarkExtender within the label.

Again I see the property but it simply does not expand to see the children.

Any help would be great, perhaps I have something hosed up in the install but all appeared to go normal - I followed the video verbatim.

Regard,
Bob Szymanski

Hi Bob -

This issue has been fixed in more recent builds of the Toolkit, which can be downloaded fromwww.codeplex.com


Thanks for your response.

I downloaded the toolkit just today from www.codeplex.com. Specifically http://www.codeplex.com/Project/FileDownload.aspx?ProjectName=AtlasControlToolkit&DownloadId=782

The versions I have are as follows:
Microsoft.Web.Atlas.dll - 2.0.50727.60725
AtlasControlToolkit.dll - 1.0.60731.0
Microsoft.AtlasControlExtender.dll - 1.0.60726.0

Do I have the most recent versions?

No - to get the fixes you'll need to pick up from the "source code" tab and download and build from there. Any of the more recent builds should be fine. Note Microsoft.AtlasControlExtender.dllwill no longer be needed.


Ok, I got it now, thanks!

Descriptions of CalendarExtender Properties/Events

Any idea where I can find documentation/descriptions on all the CalendarExtender properties and events?

Hi Whdyck,

You can find the main propertieshere and for more details ,I suggest that you should have a glance at its source code since it is an open source project.

Best regards,

Jonathan

Wednesday, March 21, 2012

defaultbutton, defaultfocus and UpdatePanel

Looks like defaultbutton and defaultfocus properties of the asp.net <form> do not work with UpdatePanel. Is there a workaround?

<

scriptrunat="server">protectedvoid Button1_Click(object sender,EventArgs e)

{

Label1.Text =

"You clicked the button1";

form1.DefaultButton =

"Button2";

}

protectedvoid Button2_Click(object sender,EventArgs e)

{

Label1.Text =

"You clicked the button2";

}

</

script>

<

htmlxmlns="http://www.w3.org/1999/xhtml">

<

headrunat="server"><title>Untitled Page</title>

</

head>

<

body><atlas:ScriptManagerID="sm1"runat="server"EnablePartialRendering="true"/><formid="form1"runat="server"defaultbutton="Button1"defaultfocus="TextBox1"><atlas:UpdatePanelID="UpdatePanel1"runat="server"><ContentTemplate><asp:TextBoxID="TextBox1"runat="server"></asp:TextBox><asp:ButtonID="Button1"runat="server"OnClick="Button1_Click"Text="Button"/><asp:ButtonID="Button2"runat="server"OnClick="Button2_Click"Text="Button"/><asp:LabelID="Label1"runat="server"Text=""></asp:Label></ContentTemplate></atlas:UpdatePanel></form>

</

body>

</

html>

hello.

the only i've used with success was to handle the propertychanged event of the pagerequestmanager and check for the _inPostBack...if you search this forum, you'll see a similar thread with 15 to 20 posts that talks about this issue.


I am having the same problem and i am not able to locate the article with the search request that you have mentioned.

Can you please provide it to me please. This is the last hurdle for me before the release :(

Thanks a lot in advance.

Try this. It solved my problem

protectedvoid Page_Load(object sender,EventArgs e)

{

Page.Form.DefaultFocus = nameTextBox.ClientID;

Page.Form.DefaultButton = submitButton.UniqueID;

}

decimal data type

Hi all,

I am having trouble working with the decimal data type in the client side js. I am returning this custom object that has decimal properties. When I try to ready the value of these properties in javascript I get an object type.

How can I get the values?

Decimal should be working well. e.g. I just tested with a simple EchoDecimal method, and it correctly round trips the number I pass in:

[WebMethod]

publicDecimal EchoDecimal(Decimal de) {

return de;

}

What do you mean by "I get an object type"? Have you tried using fiddler to make sure the data over the wire looks proper?

David