Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:811226
More Search Options
RSS Available
Matching Posts
Re: MVC and Code Blocks: "Code block not supported here" error
That is what it was... whenI move the code block outside of the telerik control and up to the top of my page things work properly. If I can modify my question slightly... 1. Is this the way always... that code blocks inside 3rd party controls are bad, or was there some issue in the 3rd party control that caused the error? 2. What are the different code block escape sequences and what do they mean? I am aware of a few but want to make sure i know which one to use when... <% ... %> - simple code
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 3/4/2009
Re: MVC and Code Blocks: "Code block not supported here" error
<telerik:RadDatePicker CssClass="dmyDateField wdRowOne" ID="RegistrationDate" Name="RegistrationDate" runat="server" Skin="WebBlue"> <% if (ViewData["RegistrationDate"] != null) { %> < DateInput SelectedDate= " <%# ViewData["RegistrationDate"] %> " DateFormat= "dd/MM/yy" ></ DateInput > <%} else { %> < DateInput DateFormat= "dd/MM/yy" ></ DateInput >
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 3/3/2009
Re: Sending Emails like Signup email and forgot password email
Explicitly define the namespace for File with System.IO.File.ReadAllText(...) and see if that fixes it. Sounds like it's thinking File is a local method in your controller (or base Controller). HTH, Rob
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 3/3/2009
MVC and Code Blocks: "Code block not supported here" error
Hey all, (please note: this question involves 3rd party controls but is not a question ABOUT 3rd party controls). I have a view that has a few 3rd party controls (Telerik DateTimePickers). When I load the page, things work fine, when I post my form and have errors, I delegate to the MVC system for putting red borders around missing fields and write the value back into the field by checking ViewData as per usual. I am having trouble doing it with my Telerik controls though. I thought I would just
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 3/3/2009
Re: Web Form Conversion to MVC Tutorial
I'd disagree whole heartedly with the statement that it is weak on the programming side. But yes... it definately is an easy way to test your code... much more so than ASP.NET. The thing about any web technology is that essentially it's the same model, irregardless of the technology (not just ASP.NET, MVC etc. either). This is an inherent fact because the info in/info out is always the same, wether it be ASP.NET, ASP MVC, or even PHP for that matter.... the client still see's HTML/CSS
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/23/2009
ASP MVC with Web Developer Express?
Hey all, I have a new laptop and downloaded and installed the VS Web Developer express off of this site. I then installed RC1. I still cannot open up previous projects I created with MVC. Does anyone know if Visual Web Developer 2008 Express supports MVC? Thanks, Rob
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/23/2009
FileIO issue in MVC
Hey all, I have an image that upon submit of form, the controller copies over to a new folder and then returns that image to the page. For some odd reason I am getting an IO error using... " System.IO.File.Copy(photoWithPath, editWithPath, true); " It is telling me that the file is in use by another process in the DESTINATION folder. This is odd, I suspect that there are issues with file locks, wondering if anyone has encountered something similar. Thx, Rob
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/10/2009
Output Caching
Hey all, I have a view user control returned with a "return PartialView("path");". The control is activated via ajax/jQuery and is passed in an image that is shown. The problem is, when I change my image the old image is still shown. I suspect that caching is involved. How can I turn off caching on this view? I double checked the image itself by manually typing in the path in a browser window (http://localhost:3238/images/myimage.png) and the image is the correct one always, but
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/10/2009
Re: ASP.NET MVC and LINQ with just one Datacontext
I have noticed issues with using only 1 data context with respect to deletes. Deletes for me were causing my context to close off for subsequent actions. My solution was to employ a constructor in my delete method to create a new context everytime. I am not a pro on LINQ but that was the best solution I could find. HTH, Rob
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/10/2009
MVC + UserControl + Supporting Scripts
Hey all, I have a user control that is rendered into the page using Ajax/jQuery. When the control is shown, it is relying on some CSS and javascript to run properly. What is the best way to register these items to the control? Right now I just assume any parent page would register those seperately but that is bugging me a bit. is there any "preferred" way to bundle the script files/css files to the view or have the controller add them seperately? Ideally I will be making a user control
Posted to
ASP.NET MVC
(Forum)
by
RobSil
on 2/10/2009
Page 1 of 14 (136 items) 1
2
3
4
5
Next >
...
Last ยป
Channel 9:
Reactive Extensions API in depth: Primitives
WindowsClient:
New WPF Features: MultiTouch
WindowsClient:
codeplex.com/testapi v 0.4 available
Channel 9:
The Visual Studio Documentary - Alan Cooper, the Father of Visual Basic
Channel 9:
Hanselminutes on 9 - Guided Tour inside the Windows Azure Cloud with Patrick Yantz
ASP.NET:
ASP.NET 4.0 ScriptManager Improvements
WindowsClient:
XAML Toolkit CTP = FxCopXaml + XamlDom + System.Xaml.dll support for Silverlight XAML
Channel 9:
Fishbowl for Facebook
WindowsClient:
Free Embeddable Fonts for your WPF Applications
ASP.NET:
Program Manager Position on the ASP.NET PM team
Channel 10:
Microsoft Teams Up with Nielsen
Channel 10:
What Azure Looks Like
ASP.NET:
Orchard team looking for a new developer
Channel 10:
Student Discount on Office 2008 for Mac Now Available
WindowsClient:
Surface SDK 1.0 SP1 supports XNA Game Studio 3.0 and later
WindowsClient:
TestAPI 0.4 Released
Channel 9:
Using the SharePoint Business Data Connectivity Designer in VS 2010
Channel 9:
10-4 Episode 36: Windows Server AppFabric and Workflow Services Lab
WindowsClient:
New WPF Features: DatePicker\Calendar\VSM\Datagrid
Channel 9:
Corrinne Yu: Principal Engine Architect, Halo Team Microsoft
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online