HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1Problem with editLink Hyperlink on EditURL parameters in .ascx fileProblem with editLink Hyperlink on EditURL parameters in .ascx file
Previous
 
Next
New Post
3/9/2006 1:22 PM
 
I have the whole page working, but I want to send the user to "ServiceEdit" key instead of "Edit" key so I fifured to use the overload, instead of -->  NavigateUrl='<%# EditURL("Service_ID, DataBinder.Eval(Container.DataItem, "Service_ID")) %>'
I put in NavigateUrl='<%# EditURL("Service_ID, DataBinder.Eval(Container.DataItem, "Service_ID"), "ServiceEdit") %>'
and I keep getting error <page_name> is currently unavaitable, with farther exceptions that No accessible overloaded '<pagename>_ascx.EditURL' can be called with these arguments without a narrowing conversion.
Now, the key definately works sinc eI can call it by itself if I am not trying to pass the other arguments, however I can not even load the page.
Any guidance would be appreciated,
noorbakhsh
 
New Post
3/9/2006 2:43 PM
 
I figured it out. this is in VB and all I had to do was to add .ToString() to the DataBinder.Eval(Container.DataItem, "ServiceID").ToString(), ...
Maybe this will help others.
 
New Post
3/16/2006 8:30 AM
 

YES!!  Thank you very much.  That is exactly the solution I needed to my two-day old problem.

I love these forums!!  (I should have looked here first, I suppose)

Ling

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 1.1ASP.Net 1.1Problem with editLink Hyperlink on EditURL parameters in .ascx fileProblem with editLink Hyperlink on EditURL parameters in .ascx file


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me
Charlotte DoDNN

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

DotNetNuke DNN Hosting
Exact Target Exec Alert
r2integrated

DotNetNuke Scoop!

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.