Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1812 Adding extra quotes to asp.net control

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
JefferyS Posted - Feb 13 2010 : 11:59:29 AM
On an asp.net page while typing in a control it adds extra quotes when selecting from suggestion/list box when the "Insert attribute value quotes when typing" is checked and no quotes when it is not checked.

<asp:Label ID=""label1"" runat=server>

Thanks,

JefferyS
7   L A T E S T    R E P L I E S    (Newest First)
support Posted - Mar 08 2010 : 04:09:43 AM
case=39884 is fixed in build 1814
accord Posted - Feb 17 2010 : 1:58:53 PM
Now I am seeing the same effect here:

case=39884

Thank you for your patience! (and for the video)
accord Posted - Feb 16 2010 : 2:22:04 PM
You can send the video using this form:

http://www.wholetomato.com/support/contact.asp

Please include the URL of this thread in the description so we can match it up.
JefferyS Posted - Feb 16 2010 : 12:36:58 PM
I can only guess that visual studio is changing the code when I saved the file because when I opened the Default.aspx it showed this:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="test1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    <asp:TextBox ID="form1" runat=""server"" Text="hello"  AutoPostBack=""true"" Columns="3" EnableTheming=""false"" TextMode=""MultiLine""></asp:TextBox>
    </div>
    </form>
</body>
</html>


I had an idea, I don't know why I didn't think of the before but I did a capture video showing what is going on. Just let me know where to send it. I zipped it up so its only 5.1mb. If a picture is worth a thousand words then a video must be worth a million words.

Thanks,

JefferyS
accord Posted - Feb 16 2010 : 02:44:22 AM
I guess your code

<asp:TextBox ID="form1" runat=""server"" Text="hello" AutoPostBack=""true"" Columns="3" EnableTheming=""false"" TextMode=""MultiLine""></asp:TextBox>

is to create a new TextBox. Can you please share the form1 as well? Did you write this inside the body?
JefferyS Posted - Feb 14 2010 : 3:18:59 PM
I created a new web project. Opened Default.aspx and started adding controls. I am still getting double quotes on properties that have multiple options to choose, but it doesn't seam to happen on suggestion list boxes.

<asp:TextBox ID="form1" runat=""server"" Text="hello" AutoPostBack=""true"" Columns="3" EnableTheming=""false"" TextMode=""MultiLine""></asp:TextBox>

I cleared the cache and rebuilt the indexes to see if that had any affect.

This is kind of related to http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=8543

Let me know if there is any other information that might help narrow down this problem.
Also I using the latest beta for download 1812.

Thanks,

JefferyS

Edit: I don't believe this was happening in 1810. I just had the problem indicated in topic 8543 above.
accord Posted - Feb 13 2010 : 1:39:39 PM
I wasn't able to reproduce this in a new test project.
I don't know much about this asp stuff, so I created a new "ASP.NET Web Application" (File->New->Project, Visual C#->Web)
Here, I searched for "label", and the first occurrence was:

<asp:Label ID="CurrentPasswordLabel" runat="server" AssociatedControlID="CurrentPassword">Old Password:</asp:Label>


Here, I kept

<asp:Label ID

and typed '='. Visual Studio placed "|", typed 'c', and got a listbox. When I accept any item here (with enter or tab), Visual Assist inserts the selected string, and I do not get ""CurrentPasswordLabel"". I get "CurrentPasswordLabel" (when I select this item).

Can you please try what you get if you do the same? Are you seeing the same problem with these steps?
If not, can you please send a test project, where you can reproduce this? I don't know how to create forms and labels from the scratch in a new project this is why I used an existing one. It may affected my results.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000