|
Actually client is insisting to take all the inputs on the same page with different section using accordion.So I have a single page in all.
I need to wrap this application in DNN.How can i achieve this, so as to take benefits of DNN as well. Will below any module will work for this: http://www.mandeeps.com/products/dotnetnuke-modules/live-wrapper.aspx?ref=dnns
http://www.mandeeps.com/products/dotnetnuke-modules/live-content.aspx?ref=dnns
http://store.dnnsoftware.com/home/product-details/porto
or other way?
modified 14-Apr-14 3:05am.
|
|
|
|
|
Hi Guys
In my web application I am using the following pages.
a. Master Page : Site.Master
b. Aspx Page : ABC.aspx
c. User Control : UC.ascx
d. Aspx Page : email.aspx
Now the scenario is:
The master page(Site.Master) and user control (UC.ascx) are used in ABC.aspx.
The requirement is when the user click on "Email" button in "abc.aspx", one jquery dialog box should get open and inside it the "email.aspx" should get called.
But now when I click on "Email" button I don't know why the Page_Load event of ABC.aspx raises.
Code is-
Master Page(Site.master)
<div id="divSubscribeDialog">
</div>
User Control(UC.ascx):
HTML Code:
<input type="button" id="emailButton" value="Email" onclick="javascript:return onEmailClick();" />
Javascript Code:
function onEmailClick() {
$("#divEmailDialog", window.parent.document.body).html('');
$("#divEmailDialog", window.parent.document.body).load("../Email.aspx").dialog({
width: 800,
right:10,
height:800,
position: 'center',
modal: true,
resizable: true,
draggable: false
});
return false;
}
Any Help friends.....???
Thanks
Abhishek
Mumbai, India
|
|
|
|
|
It could be a javascript error causing the page to postback.
I have never used the dialog function, the issue could be when you are loading the email.aspx and then calling dialog when the email.aspx is still busy loading, try calling dialog function after the email.aspx is done loading e.g.
$("#divEmailDialog", window.parent.document.body).load("../Email.aspx",function () { });
|
|
|
|
|
If you are using asp:Button, use OnClientClick to call the method you have to open jquery dialog window and then return false. This will inhibit postback.
OnClientClick="popupdialogmethod(); return false;"
You can go sleep at home tonight if you can get up and walk away
|
|
|
|
|
Hi,
Can you try this ?
function OpenMyPopUp(){openPopup('../Email.aspx', 530, 800, 'Page Title');}
function openPopup(url, h, w, t) {
if (url != null && h != null && w != null && t != null) {
urlBase = location.href.substring(0,location.href.lastIndexOf("/") + 1);
url = urlBase + url;
$('#divEmailDialog').html('<iframe border=0 width="100%" height="100%" src="' + url + '"> </iframe>');
$("#divEmailDialog").dialog({
title: t,
modal: true,
autoOpen: true,
height: h,
width: w,
resizable: false,
position: 'center',
closeOnEscape: false,
dialogClass: "alert"
});
}}
|
|
|
|
|
Hi,
I want to share a master page between different web applications. Can anybody please advice me how can I do it? I have master page in a web application called CommonLogin, can I have detailed page in FFVP application which can access the master page from Commonlogin, like FFVP I would like to have different web application which use the same master page from CommonLogin. Here is the error message I am getting
The virtual path '/Internet/apps/CNPWeb4.5/CommonLogin/CNP.Master' maps to another application, which is not allowed
Please help me any kind of help is helpful. Thanks in advance.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
|
Hi,
I did the same thing, but still I am getting the following message. Can you please help me. I have created a web application (WA) and a master page in it and then I have implemented classes MasterPageVirtualFile and MasterPageVirtualFile in it.
Then I have created a virtual directory mapping this application physical folder (MasterPageVD).
Then I have another applications default page in that I am using the reference of (WA) and in Global.asax I am registering Master Page path. I am getting the following message. Where am I missing? Please help me.
Thanks in advance.
"System.ArgumentException: The virtual path '/Internet/apps/MasterPageDir/MasterPage.master' maps to another application, which is not allowed"
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
I found that
assembly.GetManifestResourceStream(MasterPageVirtualPathProvider.VirtualPathProviderResourceLocation + "." + resourceFileName)
is returning null, is it not used for the web applications, is this function only used for class libraries?
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
Sorry I got it friend I would post the code very soon. Thanks for all your support.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
Just now i see your reply.Glad you solved it
You have to learn to think like a computer or teach him to think like a human...
----Kornfeld Eliyahu Peter
|
|
|
|
|
Hi,
I have created new web application and it is mapped to the following url 'http://localinternet:80/'.
But I want to remap the application URL with my defined virtual directory ie. 'http://localinternet/Internet/apps/CNPWeb4.5/Ffvp', but its allowing me to do this.
Can anybody help me please? Any sort of help would be helpful.
Thanks in advance.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
First of all what error you are getting? which version of IIS you are using.
|
|
|
|
|
Sorry I got it sorted out, the problem was when we open the project properties in web section there we have option called create virtual directory. It wasn't doing it by displaying message the directory is already mapped to different folder.
By checking different options on the same web section I got it sorted out.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
cool
|
|
|
|
|
difference between server site and alient
|
|
|
|
|
|
i have project when i run the project in bin\debub\tespage.html one is creating and opening the that file only . its not showing localhost\aspx page.
its opening the entire root folder in the address bar of the browser
|
|
|
|
|
|
in solution explorer -> (right click) on the *.aspx page and click set as start page.
|
|
|
|
|
your are not select particular page to default, you should make your page default page simply right click on page in solution explorer and check make as default.
|
|
|
|
|
Could anyone suggest me where I can find free 3d Chart control for asp.net to draw a scatter plot.
|
|
|
|
|
|
|
Hi Experts,
I am not real sure why this code doesn't work any more.
When a user logs into the system, we perform a check based on his/her session Id to see if his/her profile is update to date.
If any field on his/her profile page is blank, display a message informing him/her to update his/her personal profile.
It stopped working.
I think the reason it stopped working is that when you query the database, no rows are returned. All are blank.
Does anyone know what I have to do to fix this?
If Not IsPostBack Then
Dim myConnectionString As [String] = ConfigurationManager.ConnectionStrings("DBConnectionString").ConnectionString
Dim myConnection As New SqlConnection(myConnectionString)
Dim nameTB As String
Dim AddressTB As String
Dim emailTB As String
Dim phoneTB As String
Dim PrecinctTB As String
Dim PositionTB As String
Try
myConnection.Open()
Dim cmd2 As New SqlCommand("Select l.FullName,l.address,l.Phone_nbr,l.email,l.precinct,p.position_title from Users l inner join Positions p on l.positionId = p.positionId and l.username = @username", myConnection)
cmd2.Parameters.AddWithValue("@username", Session("username"))
cmd2.Parameters.AddWithValue("@email", Session("UserId"))
Dim dr2 As SqlDataReader = cmd2.ExecuteReader()
If dr2.Read() Then
nameTB = dr2("FullName").ToString()
AddressTB = dr2("address").ToString()
phoneTB = dr2("phone_nbr").ToString()
emailTB = dr2("email").ToString()
PrecinctTB = dr2("precinct").ToString()
PositionTB = dr2("Position_title").ToString()
dr2.Close()
If nameTB = "" Or AddressTB = "" Or phoneTB = "" Or emailTB = "" Or PrecinctTB = "" Or PositionTB = "" Then
lblMessage.Text = "Please update your personal information"
Else
End If
lblMessage.Text = ""
End If
Catch ex As SqlException
Response.Write("<SCRIPT LANGUAGE='JavaScript'>alert('" + ex.Message + "')</SCRIPT>")
Finally
myConnection.Close()
End Try
End If
Thanks a lot in advance
|
|
|
|