|
naunt wrote: I want to keep selection of it wherever Page I have reach
You need any of the state management techiniques that suits your application, Session/Basepage property being the best ones. Other's can be QueryString, HiddenField in basepage, Cookie, BasePage Property.
|
|
|
|
|
Dear all,
Please help me solve this.
I got error when browse my asp.net web application from IIS. When publish the project no error show.
The error is as below when browse from IIS.
<br />
XML Parsing Error: not well-formed<br />
Location: http:
Line Number 1, Column 2:<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="BLEntry.aspx.vb" Inherits="WebApplication1.BLEntry1" %><br />
-^
My source code is as below
<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication1._Default" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
<h2>
BL List
</h2>
<table style="width: 100%; height:100%">
<tr>
<td style="width:100%; height:90%">
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"
AllowSorting="True" AutoGenerateDeleteColumn="True"
AutoGenerateEditColumn="True" GridLines="None" Skin="Office2007"
AllowCustomPaging="True" PageSize="20">
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="True" />
</ClientSettings>
<MasterTableView>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
</telerik:RadGrid>
</td>
</tr>
<tr>
<td>
<asp:Button ID="Button1" runat="server" Text="New BL" />
</td>
</tr>
</table>
</asp:Content>
Thanks and Best Regards
|
|
|
|
|
|
Thank for your reply.
Do you mean to run that exe?
|
|
|
|
|
Open Visual Studio Command Prompt and run that tool with the required arguments. Can you check that link that I've provided in the previous post
|
|
|
|
|
@Arun Jacob : Thank you for your suggestion ...
Can fixed that problem now.
By runing "aspnet_regiis - i" form right version.
First time I did a wrong choice for version, I choose "aspnet_regiis.exe" from v2.0.50727 and run.
Actually I am using version 4.0.
After re-running "aspnet_regiis -i" from v4.0.30319 everythings going smoothly.
Pls, don't mind me for long explain unnecessary, I just mean to people who face this problem in future. Just inform them to do right choice.
Thanks and Best Regards
|
|
|
|
|
I am do my project in "ASP.Net Web Application" in VS2010.
When I publish it have option for publish method (Web Deploy, FTP, File System,FPSE) .
Which publish method I have to choice to browse from IIS virtual directory?
|
|
|
|
|
hi,
how can be known that the pics in the iis server is accessed from other sites?The image from another site get rendered from oursite.Do i have to give the image path from the page ?
regards
anonymous
|
|
|
|
|
This article should point you in the right direction.
generating-asp-net-images-fly
Ignore the parts about generating the image but if you look at Response.ContentType and the way to link to the image this should let you create an aspx page in which you can save request details to a database and then send your image to the client browser.
|
|
|
|
|
Hi,
How to read sheet and columns in Excel and Save to DB.
Sheet are table names
Columns are Field names in table.
Please share the links
Guhananth.S
|
|
|
|
|
Hi,
try to take a look at the following topic: linked servers. With them you can access excel files like a database. Every sheet is its own table.
Alternatively you can try to read the file using oledb-driver or ADO.Net
Regards
Jens
When in trouble,
when in doubt,
run in circles,
scream and shout
|
|
|
|
|
|
Hi,
I have implemented ICallbackEventHandler interface on a page and calling it in different context with different controls. Its working okay on keydown of a text box, click of an html button control and mouseover of a button control. But i need to use it with imagebutton or button control at click event. On click event the RaiseCallbackEvent function is called, then the GetCallbackResult(), but after that the GetCallbackResult() does not call the java script function that updates the page with the results retreived from GetCallbackResult().
This is only happning with click event of the ASP.net button or image button control and here also every thing is being invoking except the last javascript funciton that updates the page.
Apparently there seem no problem in my code. it seems some thing special is required to be done for click event of the asp.net because same is done with the html button control.
Second issue is that once the after the icallback, no server side event is fired e.g row_command of a gridview control. simply gv is cleared. Please help me. Most of the work is done, only minor issue is frustating me.
Thanks,
Safvi
|
|
|
|
|
Hi - I have a website that I'm running locally.
I have a notification routine on an external public website that needs to pass a url to an ashx handler through my local website (paypal ipn integration).
Can I configure my local machine to expose my local website by ip address to accept url requests from an external website?
How can I do this? I tried replacing "localhost" in the url with my local ip address. I got my ip address through cmd > ipconfig.
http://75.228.51.999:2076/MyWebSite/Login.aspx[^]
When I tried to run it with my ip address locally my browser didn't find the page so I'm guessing that this page wouldn't load from an external machine.
Also, are there any additional precautions I should take for this from a security perspective?
It's probably an easy question but I've just never done it before....
|
|
|
|
|
Is your local firewall blocking port 2076?
If you run the site on your local IIS server, the default port is 80 which again you'll need to make sure isn't blocked by your firewall.
|
|
|
|
|
127.0.0.1 will loopback to your local IIS.
The port could be causing an issue, check that either the default site has that port added in its Host Headers or make sure a site exists under that port.
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
Guys,
I have a repeater with links and data. If i click on one link in a particular row in that repeater, i have to display a modal popup with the values associated to that particular row.
Can you suggest how to do it?
|
|
|
|
|
Javascript / DHTML / CSS
....
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
Do you have any example of this?
|
|
|
|
|
Tons Here[^]
If at first you don't succeed ... post it on The Code Project and Pray.
|
|
|
|
|
Hi, i've made a page with Ajax accordion, but its not expanding or collapsing
this is the code i've made:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:AccessDataSource ID="AccessDataSource2" runat="server"
DataFile="~/App_Data/Data2.mdb"
SelectCommand="SELECT [id], [day], [desc] FROM [days] WHERE ([id] = ?)">
<SelectParameters>
<asp:QueryStringParameter Name="id" QueryStringField="id" Type="String" />
</SelectParameters>
</asp:AccessDataSource>
<cc1:Accordion ID="Accordion1" runat="server"
SelectedIndex="0"
ContentCssClass="Content" HeaderCssClass="HEADER" HeaderSelectedCssClass="accordionHeaderSelected"
AutoSize="None"
FadeTransitions="true"
RequireOpenedPane="false"
TransitionDuration="100"
SuppressHeaderPostbacks = "true"
DataSourceID="AccessDataSource2"
>
<HeaderTemplate>
<%#DataBinder.Eval(Container.DataItem, "day")%>
</HeaderTemplate>
<ContentTemplate>
<%#DataBinder.Eval(Container.DataItem, "desc")%>
</ContentTemplate>
</cc1:Accordion>
any ideas?
|
|
|
|
|
|
i solved the problem by adding
lol
thanks
|
|
|
|
|
I have a website - MyWebSite - that uses the following class library projects within its solution as tiers: BusinessObjects, DataAccess, DataInterface.
I have a service - MyService - that uses the same tier structure in its own solution.
MyWebSite has a reference to MyService.dll which resides in its bin directory.
I have a Tester console app that resides within the MyService solution to test MyService. The Tester console app executes MyService successfully.
When I copy MyService.dll to the bin directory of MyWebsite.dll shouldn't MyService.dll be a compilation of itself + the tier class library solutions that it references by default? In other words, shouldn't it be sufficient to just copy over the single MyService.dll without the additional dlls generated by its referenced projects?
For some reason the MyService referenced projects aren't found when I copy over MyService.dll to the MyWebsite bin directory.
|
|
|
|
|
Member 3919049 wrote: shouldn't it be sufficient to just copy over the single MyService.dll without the additional dlls generated by its referenced projects?
No. Think about it. Dropping an assembly into the bin does compile anything.
You need to add a reference to the assembly or project.
I know the language. I've read a book. - _Madmatt
|
|
|
|