Asp.net - Add "edit Page" Links To A Module In DNN?
Mar 14, 2012
Currently I'm working on a Contact Address Book module for DNN 6 and I would like to show a list when a user logs in and some settings to add, delete and change contacts on the Manage section (left upper corner in Edit view).I have no idea how to archieve this, so far, I created two modules. One to display all contacts and other to add, edit, update and delete contacts.How can I add special settings to my dnn module (using vb)?
View 2 Replies
ADVERTISEMENT
Aug 27, 2009
My application is intended to crawl a URL page and extract all possible links from the page.It works fine for a certain URL but with another it keeps causing problems. When the root page is accessed it correctly extracts the different directory links. but when it requests the directory links html page it pulls the main root URL again. someone mentioned about redirection but when debugging I see the url variable containing the directory link correctly.
View 2 Replies
Apr 15, 2010
I set up a worksheet with locked and unlocked cells. I would like to protect the worksheet; however, this grays out the "Update Values" and "Change Source" buttons in the Edit Links window. One workaround is to ask the users to Edit Links through an unprotected worksheet within the workbook, but that seems like a nuisance. Is there VBA code to allow "Update Values" and "Change Source" through Edit Links, in a protected sheet?
View 2 Replies
Mar 14, 2010
I haven't coded vb in 4 months.. I never thought I would lose my experience that easily, anyways there's something I can't figure out.[code]...
View 4 Replies
Nov 27, 2011
I made a program about a year ago that I used to 'grab' links from my forum, so I could check new posts faster, but since I upgraded my vBulletin to v4.1, for some reason my program will not work anymore - I narrowed down the issue, but have no idea how to 'fix' it[code]...
View 2 Replies
Sep 6, 2010
i want to be able to get all links from the current webpage, and then take the ones that have a certain part of the url. How can i do this. Basically I want to:
1) Get all the links
2) Delete the links that do not contain "/article/"
3) Put those links in a textbox.
I know how to do number 3, but how can I do number 1 and 2?
View 5 Replies
Apr 4, 2012
I am trying to create a specific aspx page where I display clickable links based on information in a sql database. For example one column could be the anchor tag another column could be the path to the link itself etc. In the past I would pull this information from sql and put it into a non-visible Label (say linkLabel1). Then in the page itself I would insert <%linkLabel1.text%> to insert the link path from the database to the appropriate area.
What I would like to do is set up a way that I could simply enter a new row into a SQL table with link information and a web page automatically displays the new link for me.
I guess I am mostly looking for insight, opinions, or directions of what approach to consider. I can elaborate if I was unclear (wouldn't be awfully surprising if I was not).
View 1 Replies
Mar 11, 2011
So, when someone makes a website, they decide if they want their link opened in a new tab,window, or in the same window. How do I make it by default that it opens in the same window, no matter what its set to on the website? I just don't like internet explorer taking over on those links.
View 1 Replies
Dec 13, 2009
I am creating a program and have the following code to extract the URL's off of a webpage and put them in a richlistbox. This is only from one page. The problem is that I am only getting one URL into the listbox, instead of all of them off of the page.
Here is what I have so far:
Private Sub Timer3_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer3.Tick
Dim str1 As String = WebBrowser1.DocumentText
[Code]....
View 3 Replies
Sep 5, 2010
My website is in the root directory, which is [URL]. I am using this:
Dim appPath As String = HttpContext.Current.Request.ApplicationPath
Dim directory As String = appPath & "/upload/" & Left(TableName, 2) & "/"
to get the path and it's working very well. But when I create a new sub-folder and copy some pages from the root directory into the sub-folder, my images are not displayed because the path has changed. This is the link from the page in the root directory:
[Code]...
View 1 Replies
Mar 8, 2011
I can't figure out how to make my web browser open links in a new page or tab instead of IE. I've tired at least a dozen different sets of code. None of them can be manipulated to fit my browser. When my browser first starts, there's an empty tab control. I put a new webbrowser in it at runtime and set it's dock to fill. I create new instances of the browser for new tabs as well. I just can't find how to make it open links in new windows.
View 3 Replies
Dec 25, 2011
How can I get a list of ALL links on a page after browsing to a page via the webbrowser control?
View 3 Replies
Dec 1, 2010
So I have my main form (Form1) and I have a module called globalMod. On start up, Form1 loads, and globalMod contains functions and global variables (using Friend). I need to be able to have a function inside of globalMod edit a label/text box/etc in Form1. I tired Form1.object.Text = "content" and it doesn't do anything, even if I update / refresh the form.
View 1 Replies
Dec 25, 2010
I tried using it and to get it to work I had to add some code to my project:
Public Enum HRESULT
S_OK = 0
S_FALSE = 1
E_NOTIMPL = &H80004001[code].....
I didn't like the fact that I had to use the MSHTML stuff (cause I think IE uses it also, and we all know that IE sucks :) ) and that I had to add code the make it work.Don't want to start a browser-war thread so neglect my last remark.Is there a different (/better) approach of parsing html-pages in VB.Net.Basically what I'm trying to do is get all the links (<a> tags) and embeds (<object> tag) on a page.
View 3 Replies
Jul 9, 2010
I need to ASP.net Page that links automatically to files(pdf) stored in a folder in the same root of the web application..so the script will read the contents of the page , if the file is available in the folder it should create a link to it automatically and if not it stays static text.
View 1 Replies
May 8, 2010
I am currently redeveloping my web browser application using the axWebBrowser component. I have, up to now, managed to port most of the code from my previous application, which used the standard webbrowser component. How would I retrieve a list of links from the current web page displayed in the axWebBrowser and display them in the DataGridView? The following code from my previous application is giving me an error. [Code]
View 1 Replies
Nov 5, 2010
I know this is not the right place for this question but still I would like to create in Visual Studio a small site with related links based on what the current page is displaying, from what I understand it's about MVP/MVC
View 2 Replies
Dec 1, 2009
i am currently building a MDI application. Both my Add and Edit screen use a form called frmStaffDetails.
On load, this form is redefined as 'AddStaffChild' and 'EditStaffChild' dependant on which menu item is selected. I've defined the CurrentForm as Form.ActiveForm.ActiveMdiChild.
Within a module I am checking the text within certain textboxes. So for example here I am checking a name has been inputted. If it has, then I will allow the record to be saved.
[Code]...
The problem I am having is that this code works perfectly if the textbox control is not within a Tab Control. As soon as I put it in a tab page I get the error.
"Referenced object item has a value of Nothing" Also if I reference it directly for example
If Not AddStaffChildForm.txtFirstName.Text this works fine too, but i want it to be more genric so I can use it for my edit screen as well. How can I define a control within a Tab Control from a module (or any other way to declare a public sub).
View 3 Replies
Sep 12, 2009
I'm just curious as to how some software programs that I see out there have the ability to extract links & text from thousands of web pages at an extremely high and fast rate. Has anyone here, ever created a link or text extracting program the has the ability to parse many webpages and return data into a textbox? I know how to extract links via the webbrowser control, but it doesn't seem to parse/extract data at a very high & fast rate like many email, link & text extracting programs that I see out there.
[Code]...
View 6 Replies
Jul 11, 2011
My module's Page_Load event is firing twice for each "actual" load. On the initial load both loads' Page.IsPostBack property is false.I've renamed Page_Load to Module_Load to verify the name wasn't an issue. I've made sure the method isn't handling both Me.Load and MyBase.Load, which has been the case in the past.The only thing I'm doing out of the ordinary is that my module is inheriting from an intermediate base class. Could this be the culprit? [code]I had an Image without an ImageUrl. Presumably this is set by my CollapsiblePanelExtender but rendered with a blank src.
View 1 Replies
Sep 11, 2010
my webbrowser navigates to a webpage. I need to store all the links into a collection, I did find the code to do the job (on this forum) and it works, but there is a problem: there are more links on the page than those the code reads, like when i right click on a picture and choose "copy shortcut" I get a link that is not showing when I display the "view source" for the entire page. I can't figure out how to do it.
View 3 Replies
Aug 16, 2010
how we can declare a connectionstring in a module and call that module
View 1 Replies
Apr 27, 2012
I have a VB.Net interface that communicates with an Access 2k3 Database using this module:
Module MOD_ENGINE
'Declare Database connections controls
Dim con As New OleDb.OleDbConnection
Dim dbProvider, dbSource As String
[code]....
I want to call EngineConnect procedure from MOD_ENGINE module into popCboBox module so I can ignate the engine!
View 3 Replies
Apr 28, 2010
I have a form that adds new contacts. New contacts are added by pressing an appropriate button and they appear as an entry in the list on the form. I try now to add an edit button that will edit existing entries.User will select a given entry on the list and press edit button and will be presented with an appropriate form (AddContFrm).Right now it simply adds another entry with the same title. Logic is handled in a class called Contact.vb Here is my code.
Public Class Contact
Public Contact As String
Public Title As String[code]....
View 1 Replies
Jun 12, 2011
I have a text input in textbox1 in tab page 1 and i want that text from textbox1 will be displayed in textbox2 in tab page 2.
View 3 Replies
Oct 5, 2010
I wrote a page Page method in my aspx page. in web service method I need to call FindControl method return textbox and get text box value. But my findControl will take MasterPage object to iterate.
see my code
<script type = "text/javascript">
function ShowCurrentDateTime() {
$.ajax({
[Code]....
How to pass Master Page object or Page to Page method?. So I can use in Sared method.
Is there any way I can access Textbox value directly in Page method? I need access couple of controls in Page Method.
View 3 Replies
Nov 4, 2010
HOW TO RUN THE JAVASCRIPT FUNCTION ON PAGE ONLOAD EVENT IN CONTENT PAGE OF MASTER PAGE.? means i have masterpage and the content page of master page namely default.aspx in vb.net.i wanna run javascript function in Default.aspx and i have called the function body onload in master page.when i run my website it shows the error "" Microsoft JScript Runtime Error : Object Expected ""
View 4 Replies
May 17, 2012
I need sample vb.net code to save single windows form as many page and reload the page whenever i call that page...
View 1 Replies
Jun 13, 2011
How can I get Webbrowser1 to navigate to each page and wait for the one page to completely load, then move to the next page...? [code]
View 3 Replies
Aug 7, 2009
I have a master page which contains everything that inherits it within a form. A page inheriting from it needs to run some javascript to act on a text field on a page. However, I can't seem to reference that text field through the javascript, since the form begins on the master page. The following line will come up bogus: document.form1.txtFindUser.value = blah.responseText; This is because form1 is defined on the master page, while txtFindUser is on the current page.
View 3 Replies