Can't See Dropdownlist From Module
Sep 3, 2010
I am working on a web application. I have two forms Webform1 and Webform2 and Module1. In webform1 and 2 I have labels, textboxes and dropdownlist. when I trying to use them in the Modules I cannot see them. Here is what I have in the ASPX page:
Public Sub DropDownList1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs) Handles DropDownList1.SelectedIndexChanged
test = DropDownList1.SelectedValue
End Sub
I want to be able to do this in the Module: Dim Test as string
Test= DropDownList1.SelectedValue
View 1 Replies
Similar Messages:
Aug 3, 2010
what is the best Chat Module? Audio/Video? for asp.net?
View 3 Replies
Jan 27, 2010
I am struct in a bad sitiation. I have developed my whole application and at the end client requested that they want encrypted URLs :(. Now application is in a state where I can not encrypt URL on individual pages.Is there any module through which I can add URL encryption throughout my website without changing the application as application code is 100% verified from Q/A.
View 1 Replies
Nov 14, 2010
Could you elborate how to save it in DB? Because all the users are unauthenticated
View 1 Replies
Jan 26, 2010
I use IIS 7 URL Rewrite Module and it works fine.
But My javascript code doesn't work anymore on the page (details.aspx) where i use URL Rewrite Module.
Example :
<a href="#" target="popup" onclick="wopen('note.aspx?ID=<%#CType(FormView1.DataItem, System.Data.DataRowView).Item("NoteID")%>&S=<%#CType(FormView1.DataItem, System.Data.DataRowView).Item("IsS")%>','popup',480,480); return false;">
Write a note</a>
If i disable the rule in IIS, this link works as expected.
The Rewrite rule doesn't include the note.aspx page.
View 8 Replies
Sep 21, 2010
I'm probably going to use the URL rewrite module for IIS 7 eventually and I have a fairly straight forward question that I really can't find the answer to.
If you have a base case of:
http://yoururl.com/page.aspx?ID=7
You can obviously have it rewritten to:
http://yoururl.com/page/7 or whatever you want.
My question is this: When using this module can you still use Request.Querystring["page"] on the rewritten querystring. How does the Request.URL stuff work. Does asp.net still provide the un-rewritten url or does it provide the rewritten one.
I would assume that your C#/asp.net code is completely unaffected by the url rewriting, as that's more or less the point, but I want to be crystal clear.
Secondary question: What is the best practice for how you should code a website when using the rewritten. Should you code links in the written style, or continue using querystrings?
View 1 Replies
Feb 26, 2010
Trying to use the dnn webupload control in a dnn 4.9.2 module. I am using this in the settings.aspx of my module. When I load the page I get a null exception on this line in the page_init:
Me.ModuleConfiguration.ModuleTitle = Services.Localization.Localization.GetString("UploadType" & FileType.ToString, Me.LocalResourceFile)
I tried to set the FileType, which is what is null but it is read only. I would static the title, but I don't want to change core code, for upgrade reasons.
View 1 Replies
Nov 2, 2010
I am looking for a ready to use Private Messages for ASP.NET. I am using the default ASP.NET membership.
I googled for days, but cannot find such Private messages module that contains simple features likle Inbox/OutBox, Send PM, Reciebe PMs...and so on...
I have no plan to erite such script. this is a very common requierment for lots of ASP.NET websites.
View 3 Replies
Feb 19, 2011
we want to create website based on asp.net and we want to update data in my site dialy. told me about admin module . is their any tutorials and screen shots for admin module
View 4 Replies
Jan 2, 2011
I'm creating a DNN 4.9.5 module and need to create a DLL from a WSDL (Doba API). I've created a separate Class Library project in my DNN solution with Class1.vb in it. What do I need to include in my class from the WSDL file? Obviously, I won't be going with Class1.vb, but just need a gentle push as to how to get this going.
View 2 Replies
Jan 3, 2011
During the design of a new generic authentication framework for some of our products, I have come across an architectural issue I cannot seem to find a good solution for.I have tried to simplify the problem in order to easily explain it.
The library has two classes:
Manager Is responsible for storing currently authenticated users.Module It is the responsibility for the module to validate each request according to security policies. The Module must ask the manager to determine whether a user is currently authenticated.
Now the manager is supplied an implementation of an interface which allows the manager to load users from a repository. The specific implementation is not contained in this library. Because of this, I cannot directly instantiate an instance of the repository within the library.
I have no way of modifying properties or supplying arguments for the module constructor. So my question is this, how can I give the module a reference to an instance of the Manager?
namespace Demo
{
public interface IRepository
{[code].....
View 4 Replies
Mar 27, 2011
I'm using VB.NET and Razor (ASP.NET MVC 3.0). I have a VB.NET module defined in which I declared a number of public constants. However, those constants are not being recongized in views. The constants are being recogized in my model classes.
I do import the namespace in the view (that is, the first line I have in the view is "@Imports MyNamespace"). Yet, when I try to use the constant in a statement like:
[Code]....
the constant MYFORMAT_DATE_LONG is not being recognized. And I did try putting an @ in from of the constant name too:
[Code]....
View 2 Replies
Feb 8, 2010
I have my project made from my pc and when I tried to open the solution from other computer, change the connectionStrings and run it. I'm receiving a message:
The source file is different from when the module was built. Would you like the debugger to use it anyway?
This appear when the program try to run my class, SqlHelper.vb. And when I select Yes, the program still uses the old SqlHelper.vb class (with the old connectionString).
View 5 Replies
Nov 13, 2010
I want to implement poll in my website and its a public available website so any one can vote. I want to know which might be the best option for creating poll. In my opinion there is only cookies in which i can store information and check if this user has submit a poll. My website is multi-lingual and im using Asp.net-mvc 2
View 2 Replies
Apr 9, 2010
I would like to use the Helicon ISAPI_REWRITE module to rewrite a url:
123.45.67.89/folder
to
www.site.com
I need to mask the IP/folder due to an IIS structure change. The reason why I don't want to get into, but it's valid based on the setup.
View 1 Replies
Jun 11, 2010
The IIS URL Rewrite Module ships with 3 built-in functions:
* ToLower - returns the input string converted to lower case.
* UrlEncode - returns the input string converted to URL-encoded format. This function can be used if the substitution URL in rewrite rule contains special characters (for example non-ASCII or URI-unsafe characters).
* UrlDecode - decodes the URL-encoded input string. This function can be used to decode a condition input before matching it against a pattern.
The functions can be invoked by using the following syntax:
{function_name:any_string}
The question is: can this list be extended by introducing a Replace function that's available for changing values within a rewrite rule action or condition?
Another way to frame the question: is there any way to do a global replace on a URL coming in using this module?
It seems that you're limited to using regular expressions and back-references to construct strings - i.e. there's no search/replace mechanism to replace every instance of X with Y in {REQUEST_URI}, without knowing how many instances there are.
I've had a quick glance at the extensibility introduced in the 2.0 RTW and don't see any 'light' means of introducing this.
View 1 Replies
Feb 19, 2010
Is it possible to use iis7 url rewrite module for html pages?
Like this:
http://www.site.com/index.html?x=newfolder =>
http://www.site.com/newfolder
View 2 Replies
Feb 7, 2011
I am working on module based on open meeting. How can we do it?
View 3 Replies
Jun 25, 2010
I want to create a new module in DNN (VB) ... that;
1. does not use DAL or DAL+
2. has only one view.ascx control
3. It has to be a compiled module
I do not need DB connectivity and any bells and whistles just one view control. I thought it would be simple but googling for a day now and it seems very complicated.
I have the development environment already set up with;
1. DNN Starter kit
2. VS 2008
3. SQL server
4. DNN up and running in IIS
5. the project builds successfully
If anyone knows a way I can build a module using the DNN Dynamic Module Template in VS 2008 and then strip off the DAL and all the unnecessary layers and extra controls until I have only a working view.ascx that just prints out "Hello World!" to the screen ...
View 1 Replies
Jan 21, 2010
I put this code Server.HTMLEncode on a class module, and I cant fint the IMPORTS class for it??
Where is it for Server. ???
View 2 Replies
Mar 31, 2010
i have developed asp.net page for users to register their mobile numbers in sql server database but after i contacted my SMS Gateway provider they provided me with XML API for sending bulk sms. ( I need to find a way to make XML they provided me work to read all mobile numbers stored in my database for sending them as bulk sms or making a for loop to make loop on numbers on the database to make them written in XML code they provided me )
Here is the XML file i have received from Gateway provider:
SMS Business XML Module
Application Overview
Request
Response
How to use SMS Business XML Module
Application Overview
SMSBusiness XML module is a powerful SMS solution that provides a userfriendly
interface for sending customised SMS messages to a large number of
mobile numbers within minutes.
SMSBusiness also empowers you to modify the Subscriber Name, SenderID &
password (encrypted format)
An easy-to-use Web module
Request Format
English
[Code]....
Description :
View 1 Replies
Oct 4, 2010
how can i devlope chat module like Facebook In ASP.NET?
View 19 Replies
Jul 19, 2010
Suppose I've written my own authentication module implementing IHttpModule. It is not really done but there are good resources so I can figure it out.
There are also tutorials on how to add custom created module to Web.config. But how can I replace some default module ? That is how do I remove default authentication module from execution path ?
Can I just remove following lines from Web.config?
<authentication mode="Forms">
<forms loginUrl="~/Account/LogOn" timeout="2880"/>
</authentication>
If I remove them will the default authentication module still work ? Of cause there is no real need to remove that module even if I don't use it... But it'll save some processor time and I'll feel better.
That was easy, not the hard part: can I replace HttpContext implementation? I have my own session class called Session and I don't want that HttpSessionState to be in HttpContext. I'd also like to replace User property of HttpContext. So I guess I need to create my own implementation of HttpContext and force my aplication to use it somehow. How do I do it ?
View 1 Replies
Jan 1, 2011
I am integrating ASP.NET MVC in an existing ASP.NET web form project. I have added required references and folders in web form project. However, when I right click on View folder to add a new view I don't get Add  View option.Is there a way to get MVC wizard/template in ASP.NET web form project.
View 7 Replies
Nov 8, 2010
I want to create a module that can send a message to another module in different tab.I don't know the target tab Id but I know the target module name. Is there any way to do such a thing?Is Dot net nuke support messaging?
View 1 Replies