Hello, I am new to implementing HTTPS. My site has all capabilities for https and the server is ready with the certificate. Now, i want to implement a functionality like we see in normal websites with https. Like in gmail, if we try to change https in the addressbar tp http it will come back to https. The user cannot change it to http. Any suggestion how to do it. Please note that I have only one page to be in https and rest all are in http. I am doing in MVC 3. Thanks,
afsal qureshi
Posts
-
HTTPS implmentation issue in asp.net -
Design: Passing parameters [modified]Hello all, I am learning WPF now. I have a window which will launch a popup on click of a button. The popup contains a user control. I need to pass some parameters like first name,last name to the user control. I am from an asp.net background so my thought is like to pass these parameters as query string and assign it to the text box in popup. Any way, it is not possible in windows and I am sure there are better methods. I am thinking about declaring a public get-set property in the popup for each parameters(I don't think I need dependency property). Then I will assign the values from the window. Is it a good way of doing it? Thanks in advance, afsal
modified on Wednesday, December 22, 2010 10:15 AM
-
WPF perfomanceThanks! The choice of WPF was to avaoid the browser rendering time as the time is consumed more while rendering. So is it wise to create a WPF app and use libraries like XBAP?
-
WPF perfomanceOh sorry. I was asking if it is possible or not in WPF to do the functionality. is it possible or not? I don't intent to make this thread to discuss silverlight.
-
WPF perfomanceWe have a website and have a very complex page need to be developed. The page would contain a lot of datagrids and images that would be almost impossible to render without a page crash if we develop the page as it is. So it was suggested to develop the page in WPF instead of asp.net and then integrate it with asp.net. That is on click of a menu item it will launch a WPF UI. Is it a possible way of doing as I am totally new to WPF?
-
JQuery not working in user control [modified]I don't think so. I picked up the Src value from the source selector popup. For Clarification, JQuery-1.4.1.js resides in stays in Javascript folder in root. User Control stays in User Control folder and default page stays in the test folder. Also if path is inorrect we would have got a javacript runitime error
modified on Saturday, August 28, 2010 1:33 PM
-
JQuery not working in user control [modified]Hi, I am just trying to learn JQuery. I want to try out a basic JQuery example. Adding items from one list box to another. It works fine in the normal aspx page (I pasted it in Default.aspx in root directory). I placed JQuery Libraries in a folder Javascript under root. This works fine. Then I created a WebUserControl and placed the same code and I registerd this user control in default.aspx. The page loads , but when I click on Add it does not move items from one list to another. While in the aspx page, I checked the Watch and innerHTML of the context->childNodes has values "Delhi, Bombai ..........". Same as OuterHTML. But in the user control with the same code as pasted below. innerHTML is "" and OuterHTML is "<HTML4F>" Please throw some light to this See the code below:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="User_Controls_WebUserControl" %>
<!--Add JQuery reference -->
<script src="../Javascript/jquery-1.4.1.js" type="text/javascript"></script><script language="javascript" type="text/javascript"> $(document).ready(function () { debugger; //If you want to move selected item from fromListBox to toListBox $("#add").click(function () { debugger; $("#fromListBox option:selected").appendTo("#toListBox"); }); //If you want to move all item from fromListBox to toListBox $("#addAll").click(function () { $("#fromListBox option").appendTo("#toListBox"); }); //If you want to remove selected item from toListBox to fromListBox $("#remove").click(function () { $("#toListBox option:selected").appendTo("#fromListBox"); }); //If you want to remove all items from toListBox to fromListBox $("#removeAll").click(function () { $("#toListBox option").appendTo("#fromListBox"); }); });
</script>
<table>
<tr>
<td><asp:ListBox ID="fromListBox" runat="server" SelectionMode="Multiple" Rows="6">
asp:ListItemDelhi</asp:ListItem>
asp:ListItemChennai</asp:ListItem>
asp:ListItemPune</asp:ListItem>
asp:ListItemKolkata</asp:ListItem> -
Databinding ASP.NET gridview using multithreadingThanks for the reply. Well, I need to resolve this somehow. The issue I am facing now is four database calls altogether takes around 1 minute to retrieve the data. So I thought of making it into four different threads and binding it seperately. Are you sure it will not give me advantage? If I am loading everything at one shot, i am getting a "script taking longer time. Are you want to abort" like java script error message. Also, can you please explain your solution in a bit detail? May be by giving some links!
-
Databinding ASP.NET gridview using multithreadingHi, I have four gridview in my asp.net page. I want to call databind method asynchronouly. I don't want to call it sequentially as it consumes lot of time. What is the best way to do this? What are the potential issues of trying to do databaind operation in differnt thread for the same browser. Thanks in advance. Afsal
-
Effective method for rendering tabular dataThanks for the reply. In my case the column count is dynamic. Hence I cannot design a gridview in the aspx.
-
Effective method for rendering tabular dataWell, that's the answer for my first question and I am aware of this can be done with grid view. Can you please give your thoughts to my second question. Thanks.
-
Effective method for rendering tabular dataI have a scneraio where I need to show the search results in a table. The headers consists of column span in more than one rows. I will try to draw the basic layout here but the actual layout would be more complex than this.
Column1
Column2
Col11
col12
col21
col22
The count of columns will be dynamic. Now, I have two questions. 1. Please let me know if going for a gridview will be appropriate to do this? 2. The data that will be loaded could be huge. I cannot go for a paging approach. Please let me know if we can do a rendering whenever we have the data rather than waiting for full data to be buffered and then render at one shot. I am thinking about features such as response.flush Please let me know any thoughts. Thanks, Afsal
modified on Thursday, August 5, 2010 5:14 AM
-
Drag and Drop behaviour in asp.netHi guys, Two years I was out of .Net and was doing code in Perl and do not know much about the latest happenings in the .Net world :( Now, I got a requirement to code. The requirement is to change the database table data of field 1 to that of field 2. They want to achieve it by displaying both the data of table 1 and 2 in a gridview. drag gridview1 over gridview2 and then gridview 2 will be overwritten by gridview1 also the underlying database table. What are the possibilities of achieving it? I am told to use JQuery and Ajax. Any directions to articles or suggestions would be much appreciated. Thank You! -Afsal
-
AutoIncrement column of datagridview increments while sortingI have a datagridview which is bound by a typed dataset. On the initial binding typed dataset is empty. There s autoincrement column specified on the typed dataset. The grid is readonly. But whenever I click on header the autoincrement column increments. It should have occurred only if I add a new row through the code. Can anyone tell me what is happening here? Thanks.
-
Michel-jhone's question's answerThat answer would solve mine (Gridview check box event handling in javascript) also...though I am using a datagrid and he is using a table....situation is same :) Can somebody answer any of these :( Sorry for making another post for the same question.
-
Gridview checkbox click event handling in javascriptThat will not help.. I want the event to be fired on the very time when the checkbox is clicked
-
Gridview checkbox click event handling in javascriptI have a grid view which contants a checkbox template column and a flag column. I need to make a div section of the page visible/invisible based on the flag of the row on which the checkbox is checked. So i need to fire a checkbox click event on whcih I need to get the value of the second cell. All these needs to be done in javascript. Can any one help?
-
Logging category in EventLogging [Modified]Hi all, I am trying to use logging application block to log messages. I have to specify a user defined category on which events have to be logged. By default it's coming in the category "none" irrespective of the category we supplied. How to correct this? Isn't there any relation between the category of the eventviewer and the category property of the logentry. Should we have to play with registry for doing this? Thanks in advance.
modified on Monday, May 26, 2008 10:24 AM
-
Authentication in WCFI want to secure the WCF. I don't want to use any configurable security options like cecurity ,SSL etc.After authentication I just want to check whether the user is authenticated in the subsequent method calls . What is the dimplest way to do this. Is it possible to create a authenticated flag and attach it to the message all the time ? Any help will be appreciated.