Questions tagged [visual-web-developer-2010]

Integrated Development Environment from Microsoft targeting ASP.Net applications

151 questions
0
votes
1 answer

OptimisticConcurrencyException thrown for a simple fetch/update method

Environment Entity Framework 4; Visual Web Developer Express 2010; Database first; SQL Server Express Question I want to fetch a row from the database, update one field and save back to the database. Why does the following method throw an…
Mark_Gibson
  • 922
  • 1
  • 12
  • 32
0
votes
2 answers

How to get requesting url when user is redirected to login page by web.config in asp.net

My web application immediately redirects users to a login page via web.config. How can I get the url that requested my page? I tried using the Request paramaters in Page_Load of the Login.aspx page but that didn't work.
Troy Mitchel
  • 1,790
  • 11
  • 50
  • 88
0
votes
1 answer

How to create a 'fresh' session when the page is re-opened

I am very new to basic programming, and I'm currently creating a webpage that handles bookings and when the booking has been made, it stores the $ value of the booking and the amount of the booking in session variables. How do I make it so that when…
0
votes
1 answer

Gridview not allowing paging

I have a gridview on a asp web page and the formatting works fine except when I add AllowPaging or if I set the location of the gridview. Here is the gridview code that I am using.
Tim Vavra
  • 537
  • 1
  • 19
  • 35
0
votes
2 answers

Class file doesn't compile outside of App_Code folder

I am using Visual Web Developer Express 2010 edition. I have chosen "New Website" (and not New Project) to build a website. My project is targeted for .NET 2.0 I have a class file which I originally created under the App_Code folder. I instantiated…
user93353
  • 13,733
  • 8
  • 60
  • 122
0
votes
1 answer

Removing the Visual Studio / Visual Web Developer 2010 Express debugger and debugging JavaScript in the browser's debugger

When I set a break-point in my JavaScript code in the browser's debugger provided by its developer tools plug-in, I get a message saying that one or more processes are already attached to this, so it can't set a break-point or debug the code in the…
0
votes
1 answer

Error with EntityDataSourceExtention to Enable Insert(): "type or name EntityDataSource could not be found"

In Visual Web Developer 2010, I'm trying to implement the extension to EntityDataSource described on this page that enables Insert() to be used as a…
0
votes
1 answer

GetTable is not a member of DataContext

I'm attempting to read from a SQL-Server database using LINQ like so:- Public Module MyMod Public db As MyDatabaseDataContext End Module Partial Public Class MyDatabaseDataContext Public ReadOnly Property MyProperty As MyTableRow …
Brian Hooper
  • 21,544
  • 24
  • 88
  • 139
0
votes
1 answer

Refresh Visual webpart through Javascript in sharepoint 2010

I have added visual webpart in home page. Can any one provide me java script to refresh this Webpart for every 2 minutes. Thanks for your time. Regards, Sandy
0
votes
1 answer

Are you missing a using directive or an assembly reference. Visual Studio WebDeveloper 2010

So I'm having a little trouble trying to figure out what exactly I'm doing wrong here. I'll give you a basic rundown of what I've been doing. I am creating a Details with and one line of data is a boolean, We were using a CheckBoxField originally…
0
votes
2 answers

how do i add a script to an aspx form in visual web developer

I've searched the net and watched videos on this but no one really helps. What I want to do is add an already typed java script file to my aspx form in Visual web developer. All tell me that i should just add: <title> <script…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/asp.net" class="post-tag grid--cell" title="show questions tagged 'asp.net'" rel="tag">asp.net</a> <a href="../../questions/tagged/visual-web-developer-2010" class="post-tag grid--cell" title="show questions tagged 'visual-web-developer-2010'" rel="tag">visual-web-developer-2010</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 04 '13 at 06:35">asked Apr 04 '13 at 06:35</time> <a href="../../users/2235321/julie20" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2235321.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Julie20" /> </a> <div class="s-user-card--info"> <a href="../../users/2235321/julie20" class="s-user-card--link">Julie20</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">228</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="2 silver badge">2</li> <li class="s-award-bling s-award-bling__bronze" title="12 bronze badge">12</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-14181747"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/14181747/automatically-escape-s-and-s" class="question-hyperlink">Automatically escape <'s and >'s</a></h3> <div class="excerpt">I want to show text on a web page without having to remember to go over it and check if there are any <'s and >'s in it, so simply copying the text from, say, notepad to visual studio isn’t good. So I tried "paste alternate" but it adds line breaks,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/asp.net" class="post-tag grid--cell" title="show questions tagged 'asp.net'" rel="tag">asp.net</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/css" class="post-tag grid--cell" title="show questions tagged 'css'" rel="tag">css</a> <a href="../../questions/tagged/visual-studio-2010" class="post-tag grid--cell" title="show questions tagged 'visual-studio-2010'" rel="tag">visual-studio-2010</a> <a href="../../questions/tagged/visual-web-developer-2010" class="post-tag grid--cell" title="show questions tagged 'visual-web-developer-2010'" rel="tag">visual-web-developer-2010</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 06 '13 at 11:45">asked Jan 06 '13 at 11:45</time> <a href="../../users/939213/ispiro" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/939213.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="ispiro" /> </a> <div class="s-user-card--info"> <a href="../../users/939213/ispiro" class="s-user-card--link">ispiro</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">26,556</li> <li class="s-award-bling s-award-bling__gold" title="38 gold badges">38</li> <li class="s-award-bling s-award-bling__silver" title="136 silver badges">136</li> <li class="s-award-bling s-award-bling__bronze" title="291 bronze badges">291</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-13945108"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/13945108/microsoft-jscript-runtime-error-in-ie9" class="question-hyperlink">microsoft Jscript runtime error in ie9</a></h3> <div class="excerpt">I have developed one web application using Visual Web Developer 2010 express, MVC 2 model. It is a simple application sending and retrieving data of 5 fields. When it is running in Chrome everything works fine, but in IE 9 I get a dialog box with…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/internet-explorer-9" class="post-tag grid--cell" title="show questions tagged 'internet-explorer-9'" rel="tag">internet-explorer-9</a> <a href="../../questions/tagged/runtime-error" class="post-tag grid--cell" title="show questions tagged 'runtime-error'" rel="tag">runtime-error</a> <a href="../../questions/tagged/visual-web-developer-2010" class="post-tag grid--cell" title="show questions tagged 'visual-web-developer-2010'" rel="tag">visual-web-developer-2010</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 19 '12 at 03:32">asked Dec 19 '12 at 03:32</time> <a href="../../users/1627171/ashish-chauhan" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1627171.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ashish Chauhan" /> </a> <div class="s-user-card--info"> <a href="../../users/1627171/ashish-chauhan" class="s-user-card--link">Ashish Chauhan</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">39</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badges">1</li> <li class="s-award-bling s-award-bling__bronze" title="10 bronze badges">10</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-13720007"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/13720007/button-created-into-a-place-holder-onclientclick-not-working" class="question-hyperlink">button created into a Place Holder OnClientClick not working</a></h3> <div class="excerpt">Hi i am trying to create a Update button for my web page for a control array creasted information, it adds in the CmdUpdate button in fine, however when i click the button nothing happens. 'code to add in Update form CmdUpdate.Text = "Update" …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/asp.net" class="post-tag grid--cell" title="show questions tagged 'asp.net'" rel="tag">asp.net</a> <a href="../../questions/tagged/vb.net" class="post-tag grid--cell" title="show questions tagged 'vb.net'" rel="tag">vb.net</a> <a href="../../questions/tagged/visual-web-developer-2010" class="post-tag grid--cell" title="show questions tagged 'visual-web-developer-2010'" rel="tag">visual-web-developer-2010</a> <a href="../../questions/tagged/contentplaceholder" class="post-tag grid--cell" title="show questions tagged 'contentplaceholder'" rel="tag">contentplaceholder</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 05 '12 at 09:33">asked Dec 05 '12 at 09:33</time> <a href="../../users/1558296/will-peckham" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1558296.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Will Peckham" /> </a> <div class="s-user-card--info"> <a href="../../users/1558296/will-peckham" class="s-user-card--link">Will Peckham</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">574</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="7 silver badge">7</li> <li class="s-award-bling s-award-bling__bronze" title="18 bronze badge">18</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-13662025"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/13662025/entityframework-add-migration-crashes-vwdexpress-exe-via-system-data-sqlserver" class="question-hyperlink">EntityFramework Add-Migration crashes vwdexpress.exe via System.Data.SqlServerCe</a></h3> <div class="excerpt">Visual Web Developer Express is crashing when I run the EntityFramework 'add-migration' command from the package manager console. Problem signature: Problem Event Name: CLR20r3 Problem Signature 01: vwdexpress.exe Problem Signature 02:…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/entity-framework" class="post-tag grid--cell" title="show questions tagged 'entity-framework'" rel="tag">entity-framework</a> <a href="../../questions/tagged/migration" class="post-tag grid--cell" title="show questions tagged 'migration'" rel="tag">migration</a> <a href="../../questions/tagged/sql-server-ce" class="post-tag grid--cell" title="show questions tagged 'sql-server-ce'" rel="tag">sql-server-ce</a> <a href="../../questions/tagged/visual-web-developer-2010" class="post-tag grid--cell" title="show questions tagged 'visual-web-developer-2010'" rel="tag">visual-web-developer-2010</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 01 '12 at 17:50">asked Dec 01 '12 at 17:50</time> <a href="../../users/850990/benjamin" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/850990.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Benjamin" /> </a> <div class="s-user-card--info"> <a href="../../users/850990/benjamin" class="s-user-card--link">Benjamin</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">3,134</li> <li class="s-award-bling s-award-bling__gold" title="6 gold badges">6</li> <li class="s-award-bling s-award-bling__silver" title="36 silver badges">36</li> <li class="s-award-bling s-award-bling__bronze" title="57 bronze badges">57</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=7" rel="prev" title="Go to page 7">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=1" rel="" title="Go to page 1">1</a> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=2" rel="" title="Go to page 2">2</a> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=3" rel="" title="Go to page 3">3</a> <div class="s-pagination--item s-pagination--item__clear">…</div> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=10" rel="" title="Go to page 10">10</a> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=11" rel="" title="Go to page 11">11</a> <a class="s-pagination--item" href="../../questions/tagged/visual-web-developer-2010_page=9" rel="next" title="Go to page 9"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>