[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.0

Changing DesignerControl Object Attributes Using VS.NET

Asked by dplittle in Microsoft Visual Interdev

Tags: designercontrol

I'm getting were I really hate Visual Studio .NET. I only switched recently from Visual Studio because I need it for SQL Server 2000 Reporting Services.

We have an ASP only site ... no .NET ... just ASP pages. I inherited it frmo another developer and am struggling through figuring out how and why he did stuff the way he did.

I now need to change the captions in a couple DesignControl buttons. I'm used to just doing things by hand and not using all these "helpful" controls. When I open the page from my server I get stuff that looks like this

      <!--METADATA TYPE="DesignerControl" startspan
<OBJECT id=btnDetails style="LEFT: 0px; WIDTH: 65px; TOP: 0px; HEIGHT: 27px" classid="clsid:B6FC3A14-F837-11D0-9CC8-006008058731"
      width=65 height=27>
      <PARAM NAME="_ExtentX" VALUE="1720">
      <PARAM NAME="_ExtentY" VALUE="714">
      <PARAM NAME="id" VALUE="btnDetails">
      <PARAM NAME="Caption" VALUE="Details">
      <PARAM NAME="Image" VALUE="">
      <PARAM NAME="AltText" VALUE="">
      <PARAM NAME="Visible" VALUE="-1">
      <PARAM NAME="Platform" VALUE="256">
      <PARAM NAME="LocalPath" VALUE="../">
</OBJECT>
-->
<SCRIPT LANGUAGE=JavaScript RUNAT=Server>
function _initbtnDetails()
{
      btnDetails.value = 'Details';
      btnDetails.setStyle(0);
}
function _btnDetails_ctor()
{
      CreateButton('btnDetails', _initbtnDetails, null);
}
</script>
<% btnDetails.display %>

<!--METADATA TYPE="DesignerControl" endspan-->  


I need to change the caption for the button but when I do that, the change never shows up on the page on the server. If I colse and reopen the page from the server, I see my changes but the button text is not shown.

What am I missing? Is it a problem with the way I have the project or solution set up?

Thanks

David
[+][-]03/31/05 02:41 AM, ID: 13670195Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Microsoft Visual Interdev
Tags: designercontrol
Sign Up Now!
Solution Provided By: puranik_p
Participating Experts: 1
Solution Grade: A
 
[+][-]03/31/05 10:36 AM, ID: 13674239Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/10/05 09:56 PM, ID: 13750417Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89