Web Forms :: URL To Be Displayed In Address Bar?
Feb 24, 2011how can I display the URL like [URL] instead of [URL]. I read Scot's blog at this address [URL] but I couldn't find a solution to my problem.
View 3 Replieshow can I display the URL like [URL] instead of [URL]. I read Scot's blog at this address [URL] but I couldn't find a solution to my problem.
View 3 RepliesI 'm implementing my version of "ShareThis" in my webpage.How can i get the client's browser displayed address with Asp.NET?I am little confused with this one since the url to share...1) is created with URL rewriting2) contains Greek characters.
View 2 RepliesPossible Duplicate:
Removing a querystring from url in asp.net
How to hide asp.net querystring displayed in address bar as default.aspx?id=2&name=sanjay
I've got a Varchar2 field in my table which I want to convert to a CLOB. I am unsure whether the data would get truncated when selected. If so, what is the limit and does it depend on the database settings?
In my TOAD or SQLPLUS window it gets truncated but this may just be the environment settings. I'm not sure whether it would get truncated in my actual application (I can test this, but up to what size should I test?)
If it does get truncated, what's the best way to display the whole CLOB? There are other fields in my SELECT query, so I think I can't just loop through multiple rows. Is there any way out?
I have managed to expose the MEX endpoint of my WCF service and I can access it with the address like [URL] (example) and get the WDSL. So no problem there.
However, my WCF test page shows the address wrongly by using the server's name instead of the DNS name. And if I click on the link on the test page it won't work (can't get WSDL).
The WCF test page looks like this:
MyService Service
You have created a service.
To test this service, you will need to create a client and use it to call the service.
[URL]
The WCF service is hosted in IIS6. I would like to have a test page with the correct WSDL address so users can see the WSDL quickly in the browser just by clicking on the WSDL address.
In short: How can I change the MyServerName to inter.mycompany.com on the WCF test page? Can this be specified somewhere in the Web.config?
I am trying to pull entries from a database based on the current users IP Address. Here is what I have so far:
[Code]....
I am receiving the following error: Cannot find either column "Request" or the user-defined function or aggregate "Request.UserHostAddress.ToString", or the name is ambiguous.
Is it possible to do this? Should I try to access this information another way?
Is it possible to find out the clients IP and possibly MAC address from non IE browsers (i.e. without using ActiveX)? If so, how?
View 1 RepliesI been stack for the last few days trying to figure out the SilverLight 4 LineSeries graph, for some strange reason the graph being displayed but the line not being displayed. I am pretty sure that my mistake is something very basic but I been straggling to pinpoint the problem by myself.Bellow is the code that I having problem with.
<toolkit:Chart HorizontalAlignment="Left" x:Name="chartLine" Margin="31,35,0,0" Title="Chart for test" VerticalAlignment="Top" Height="233" Width="309">
<toolkit:LineSeries IsSelectionEnabled="True" HorizontalAlignment="Left" DependentValuePath="Y" IndependentValuePath="X" [code]....
How do I obtain the IP address or MAC address or some Unique ID of a device within a mobile app, either client or server side?
We are developing a web application targeting iPhone, BlackBerry and Android, generally device independent, and we are looking for ways to uniquely identify a device for added authentication purpose. Is there a way to uniquely identify a mobile device, regardless of the make and model?
how do I grab an email address from a web form and email to that email address with the link to a webform?
View 5 RepliesThe image is not getting displayed on the page if it is called through the routing engine, and the image is displayed on the same page if the page is directly called (explicitly appending .aspx).
Only those image which are set using <img> tag are not displayed whereas the ones whose value is grabbed using the routed url and into the <asp:Image> tag are dislplayed properly.
I tried adding the following to global.asax file, but it did not.
When I check the image source using the firebug in html source code the path is available with all the attributes (src, height, width, alt) but the image is not displayed on the screen.
I have a table in a div which starts as invisible and by clicking a link it should be shown. The tables are in my aspx files while the div(s) are in the masterPage. This works just fine in FF but most of the time they do not show up in IE. If I manuallydo a refresh first then most of the time the div is shown.
<div id="drag" style="z-index: 5" >
<div>
<div>
script language="javascript" type="text/javascript">
var theSubject = '<%=Session["subject"]%>';
[code]...
I have a tree view which is drawn using sql query results as follows.
GenerateTreeView()
{
DBConnect db = new DBConnect();
[code]...
In the Page_Load, I dynamically assign a string which contains asp:checkbox to a InnerHtml of a <td>. But when the page is loaded, I can not see the checkbox on the page
View 2 Repliesi am using a sitemappath control in my application. I have a master page and three content page. I declared a sitemappath control in all the three pages and a web.sitemap file. My problem is i get the sitemap only in my first page and in the other page i am not getting the sitemap control.
View 3 Repliesi had button under gridview
and sending value to another page here i could not get the second row column . It is taking only
1st row column only, check below code
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
ToolTip="M8 Media Educational Directory" GridLines="None"
>
<Columns> <asp:TemplateField >
[Code]....
I am new in ASP.net and working with 4.0 framework. My problem is that when i paste all page with directory into local iis configured directory inetputwwwroot , and try to run it with
browser http://localhost/webpage1/default.aspx/
it gives an error message
"The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.
A name was started with an invalid character. Error processing resource 'file:///C:/inetpub/wwwroot/WebSite3/Default.aspx'....
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> -^"
I'm sure you've seen sites that display a portion of the available text in a limited space followed by an ellipsis or a [more] link. That's what I need to do. The text is in a database field, and includes carriage returns and line feeds. I can't just count the number of characters. How can I only display the text that will fit in a defined space? I've tried using a panel control with the height defined. I've also tried a div with the height defined. Neither has worked. How is this done?
View 6 Repliesis it possible to export displayed content of asp.net page to pdf.if yes how
View 5 RepliesI hv a gridview in my page, and is getting populated on page load in code behind page ..now i want that, when the page gets load the first row should be selected and the all the values of the row should be get visible in the textboxes above the gridview
i sm hw got the default first row selected but the values of that row is not gettign diplayed in the textboxes.
I am using VS 2008 and developing an website. Now I just upgraded my IE from 7 to 8 and facing one strange issue.
I have a button on my webpage and I set its Width=0px and Height=0px so if I check in Internet Explorer 7, its not displayed but if I see this form in IE 8, its displayed with a little height and width. Its not completly visible False.
And for information, I cannot use Visible="False" for this button as I am calling its click event from another pop up window so if I make Visible=False, it is not finding this control or its click event, so I have to set its height and width Zero to make it visible false.
why its getting displayed in IE 8, even after setting its Height and Width to Zero?
I'm having a problem displaying all data from a couple of database tables in a GridView. Only one row is displayed. I have my SQL query posted in the "SQL Server etc..." forum, and I'm posting the code here in case there's something wrong with how I display the data in the GridView. The GridView should display 2 rows, but displays only 1.
[Code]....
I'm using WebChart Control to create a line graph, which gets data from a DataSet. I display the table above the graph and the values differ?
View 1 RepliesI have almost completed a competition entry form however i now find myself stumbling over a label which is to display a confirmation message that the entry has been received.
Stepping through the code using debug/breakpoints shows that the code is running the cycle but the end result of the form is just blank fields.
I have posted the code here:
[Code]....
I want to grab the data displayed in a web page . The data is displayed as follows .
please note that it has more than 3 rows of data
Code Name Fax1000 AZEEM ABDHILLAAHI 3322436 1001 MOOSA HASHIM 3318551 1002 Magpie 3123464
[Code]....
I want to exract the data and save it to a text file as comma seperated values.
I want to achieve the taks using asp.net c#. provide me with links to sample or tutorial .