CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.dotnetnuke.custom_modules Tags:
Item Type: NewsGroup Date Entered: 9/16/2005 8:27:02 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 13 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
JayPak
Asp.Net User
Problem with EditUrl9/16/2005 8:27:02 PM

0/0

I have the follwing line of code on my control:

<asp:HyperLink NavigateUrl='<%# EditURL("ItemID",DataBinder.Eval(Container.DataItem,"ItemID")) %>' Visible="<%# IsEditable %>" runat="server" ID="Hyperlink1"><asp:Image ID=Hyperlink1Image Runat=server  ImageUrl="~/images/edit.gif" AlternateText="Edit" Visible="<%#IsEditable%>" resourcekey="Edit"/></asp:hyperlink>

For some reason, it does not like DataBinder.Eval(Container.DataItem,"ItemID").  In other words, if I simply replace that with a "3" (which points to an actual row of data in my table) it works fine.

I use databinder to pull other columns from that row and it works fine.  Example:   <%# DataBinder.Eval(Container, "DataItem.PhotoAlbumName") %>

Any ideas?

Thanks!
   " NavigateUrl=''>" resourcekey="Edit" AlternateText="Edit" ImageUrl="~/images/edit.gif" Runat="server">
brian_c
Asp.Net User
Re: Problem with EditUrl9/17/2005 3:35:03 AM

0/0

search for editurl .. 

or even better ..  if you can ..  search for editurl and my name as the poster ..   you will find the answer...

JayPak
Asp.Net User
Re: Problem with EditUrl9/18/2005 9:44:59 PM

0/0

 brian_c wrote:

search for editurl .. 

or even better ..  if you can ..  search for editurl and my name as the poster ..   you will find the answer...



I did a search and did not find an adequate answer to my problem. 

However, I did find the solution immediately after I posted this question.  I simply needed a ".ToString()" on the end of: DataBinder.Eval(Container.DataItem,"ItemID").  I originally copied code from another module which is VB.   Doh!  Oh well, simple fix.
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Fireworks 2 Bible: Create Dynamite Web Graphics in a Single, Easy-to-use Environment. Master the Improved Web Connectivity, Image Optimization, and Workflow Tools. Build, Preview, and Export Animated GIFs in Any Size Or Shape. Authors: Joseph W. Lowery, Pages: 718, Published: 1999
Adobe Acrobat and PDF for Architecture, Engineering, and Construction Authors: Tom Carson, Donna L. Baker, Pages: 247, Published: 2005
Building an ASP.NET Intranet Authors: Jonathon Walsh, Kourosh Ardestani, Matt Gibbs, Chandu Thota, Chad Hutchison, Brian Patterson, John Roth, Brian Boyce, Andy Elmhorst, Saurabh Nandu, Pages: 460, Published: 2002
PageMaker 7 for Windows and Macintosh: Visual Quickstart Guide Authors: Ted Alspach, Pages: 314, Published: 2002

Web:
Problem w/ EditURL in HTML of User Control - ASP.NET Forums I'm having the same problem. It's not case-sensitivity, I've verified that. I even try to use EditURL() with no parameters and it doesn't ...
Problem with EditUrl - ASP.NET Forums Problem with EditUrl. Last post 09-18-2005 5:44 PM by JayPak. 2 replies. ... or even better .. if you can .. search for editurl and my name as the poster ...
EditURL by ModuleID? - ng.asp-net-forum.dotnetnuke - fix error ... EditURL by ModuleID?, > ROOT > NEWSGROUP > Asp.Net Forum ... problem converting vs2005 web site to vs2005 web application · visual studio 2005 ...
Problem with editLink Hyperlink on EditURL parameters in .ascx ... Problem with editLink Hyperlink on EditURL parameters in .ascx file ... EditURL' can be called with these arguments without a narrowing ...
eZ Issue Tracker: Issue #006096: URL management: possible cache ... #006096: URL management: possible cache problem. Description:. When I change a URL using Setup->URL Management->Edit URL, the URL is changed in the DB and ...
Sharepoint general Edit URL of Picture library, Discussions, etc.? Edit URL of Picture library, Discussions, etc.? - Leann ... The problem is that the picture libraries, lists, discussions, and surveys on the subsequent ...
Aj RSS Reader (EditUrl.php url) SQL Injection Vulnerability Home » Exploits » Aj RSS Reader (EditUrl.php url) SQL Injection Vulnerability ... Remortgage | Consolidation | Replica Watches Guide | Debt | Problem Mortgage .
Edit URL feature - Feature Requests - Firefox Extensions Forum Edit URL feature, Options ... The problem with this is how to make both auto updating and editing possible at the same time, or how to make ...
Mike's Community I too am having the problem with the Edit URL not working. It pops up the same error everyone else is having, and I do have Mootools properly installed. ...
EditUrl versus NavigateURl in Module API > DotNetNuke Forum, DNN ... Looking at the code, it uses EditUrl to navigate among the many .... Thanks Joe - it was strange - I finally found the problem - in the ...

Videos:
Introduction to Google Data Jeff Fisher walks through basic history and concepts behind the Google Data protocol. Visit the documentation for more information and list of availa...




Search This Site:










disappearing code?

why use delegates?

installing problems

help with resizing images

asp 2.0's client callbacks in other browsers than ie

arrange radio buttons

help---missing microsoft.web.ui.webcontrols.dll ???????????

volunteer work and localization in portuguese???

email sending using asp.net ajax

santry resource directory manager rss feed problem

intranet engine

basic auth evasion security breach

open from web

link to printversion css?

4 basic questions about starter kit

sending parameters to url

web application project, create virtual directory problem

reference a personal dll inside a class

strange code behavior - dnn 4.0.1 - single machine

problem formating a gridview col. to currancy

internet explorer recognizes the binary formats

custom user control question

c# asp.net gridview

i need help! problems installing dnn!

are we allowed to sell applications written in vwd and sql2005

accessing controls content pages from master page

view page

directoryentry class and 3.5 framework

encrypting web and window application config files (.net 2.0)

why don't all the modules show in the admin tool bar?

 
All Times Are GMT