Dot Net Nuke (DNN)
/* Style Definitions */
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
font-family:"Times New Roman";
mso-b...How to write the code of switching from one control to another control in DNN
I am making my own modules for dnn and i am facing the problem that I am not getting the code in dnn thet help me to go to another control as dnn is doing eg. A dynamic link is generated on announcements control "Add New Announcements" and this link refers to AnnouncementsEdit.ascx.. Please Help me to find it out and send the code for doing this in dnn..
Its urgent please fast.
I'm not really sure that I understand you right.
But your problem sounds for me, that you do not have registered the controls for your module in the module definit...one module to control another module
I would like to have one module that controls another module. that is I want to have a list of things and then the user clicks on one of those things I want another module the image module or something that display an image with that thing.
I preferrabely would like to use the modules that come with dotnetnuke. Is there a way to accomplish this (to parameterize a module).
....and in the darkness bind them.
something like the link module but I do not want the navigation to the link to appear on a different page and i still want to have the links available.
Inter m...want to call one c#.net function in one user control from another user control
i have two user controls
info.ascx and personal.ascx
i have a function like
in info.ascx i have a function like showdetails()
now i want to access this function from personal.ascx
can i do this ?
thanks in advance.
shwetaThanksshwetaIn a day when don't come across any problem -you can be sure that you are traveling in wrong path
you should better create a class where you will define the "functions" that you need in both files. declare "static" the function and call it like nameofclass.nameoffunction
In a web project you can...Problem opening a popup window from a user control that is inside another user control inside a aspx page
I am trying to open a Lookup popup window (on a ImageButton click) from inside a address user control that I created. Just an FYI, the address user control (.ascx) is inside a main user control (.ascx) in a aspx page that is using a master page. When I click the Image button, I am tring to excute the following code in the code-behind of the address.ascx-
I have a page that is launched using showModalDialog, and I would like to change an HtmlInputCheckBox on the parent page when an event on the modal page is fired (in the code-behind). Is this possible, and if so, how? I've tried using Response.Write("<script>self.opener.document.forms.ApplyPhaseIn.checked=false;</script>") but this doesn't work, and I'm not sure how else to handle it. Any suggestion would be welcome.
No, this==> self.opener.document.forms.ApplyPhaseIn.checked=false; you have to p...to access a control existing in one page from another page
I want to access a control existing in one page
from another page
How can i do thins in asp.net 2.0 (vb.Net)
I believe you can this by using previouspages. You need to enable it in the page directive and use the postbackurl propertie of a control. For example you have 2 pages. Page 1 contains a label and a button. The button's postbackurl is set to page 2. When you press the button and you get forwarded to page 2 you can then access the control from page 1 by using the previouspage function. Here is a document about it: http://aspalliance.com/...Update controls from one page to another aspx page on a frame
I've a frame page called default.aspx that has a left panel as navigation and the content page. When I first start the application, the content page is loaded with login.aspx page for user to login, however, when I first load the default.aspx page, I would like all controls (hylerlink and button) on the left panel be disabled until the user is loggin. So my question is that how do write script to enable the left navigation page one the user successfully authenicated. Which mean updating controls of another page. Is it possible?
Thanks,...How to databind control in one web page from another web page
I have a listbox control and a button control in a web page. Once the user clicks the button another web page is opened.
The new web page will accept some data from the user which will be used to databind the listbox in the first web page.
In other words, the two web pages ( the parent window and the child window) are open at the same time. The child page needs to databind a control in the parent page.
Is there a way to do it?
I need some code.
Thx in advance
I hate to do this.
Looks like I will have to take help of viewstate and session si...How to access one user control from another user control on same page
hi,I have two usercontrol on same page. 1.ascx and 2.ascx on abc.aspx . Now I need to access dropdown on 1.ascx frm 2.ascx . Plz help me how can i do this?I have tried Page.findcontrol but as a user control inherits usercontrol class and not page class . its not giving reference to proeprty Page.Findcontrol. I can do page.findcontrol on aspx page but I need to do it on ascx only.plz helpregards,max
Hi Max, you have to expose your DropDownList as a public property which lays inside usercontrol 1. Example: 1 class MyUserControl1 : UserControl
4 p...How do I control one control from another control?
I have a page page1.aspx which is within a master page.
On page I have a table with two cells. Within each cell I have placed two controls (ascx) that I have developed.
Now I'd like to be able to get these two controls to interact. One needs to update the other. One has some search criteria that the other one needs to update its gridview. One needs to make the other visible/not visible at certain times. Out of the box neither control can see each other at all.
Is there a good article or someplace I can find some information on how to do this?
AllAboutFocus.com. Information Technolo...How To Pass an ItemId from one ascx control to another ascx control in the same page
I am new to Asp 2.0. previously i worked on DotNetNuke. now i shifted to this asp 2.0. and here i am developing a site in that site i am using controls just like modules in the dotnetnuke. so i got one doubt here that is in the dotnetnuke if i want to pass an id from one ascx control to another ascx control there i used EditUrl function so it is very simple. but here there is not such a function for navigation from one ascx control to another ascx control. so can any body help me regarding this.Regards,Ram Mohan Rao Adduri,Techinical Associate,eSymbiosisHyderabad.Mobile: 9490118545...Another wierd occurence. DNN modules fail on one machine and work on another.
I am working with a patner to add content to a couple of portals.
I created a tab for just the 2 of us as admistrators for file storage, calendar, tasks, etc.
Every module on the page fails for him on his PC and returns server errors but works great from my PC. We are working only a few miles apart.
clicking on an image in the free simple image gallery does nothing.
clicking on a download in the free downloads module returns a server error.
creating an event and trying to enter multiple dates returns a server error.
Every once in a while he can't even get to ...Proble in displaying/controling the progress bar(.gif image) on one page from another page of content type ms-excel
I want to display the progress bar (a type of .gif image) on a page and control it from another page which is of content type - msexcel.
Scenario is like:
Suppose there are two pages Page1 & Page2. Page1 is a normal web form having a button and a progress bar(. gif image).
Page2 is a web form whose content type defined as MSEXCEL, which open the excel application, fill the data and send it to client.
i.e. Response.ContentType = "application/vnd.ms-excel";
functionality is like when i click on the button of Page1, it internally redirect to Page2 and after pro...