|
Thanks for the reply.
I tried but , but still it shows same error?
What should I do?
Plz help.
Thank You
|
|
|
|
|
Post the new connection string
|
|
|
|
|
Hi , i need a collapsible meanubar for my new website.which will have header, subheader and than its contents,Using Ajax panel.Can anyone help me out in this one.
Thanks
Saurabh
|
|
|
|
|
can anyone help me out with this problem.
plz i need an urgent help,guys kindly help me out.
|
|
|
|
|
Am setting up an application on my system which has been working for years. it internally calls some XX Web service.
When I run this application its throwing the following error (but it is working properly on other systems)
System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ).
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
i tried the following this to resolve this, but still getting the same error
1. Tried to bypass this proxy for the web server hosted machine in Machine.config file
2. Gave admin rights to ASPNET account and some other accounts.
Please advice on this, i need to get it resolve with out making any code changes.
Thank you,
Satish
|
|
|
|
|
hi,
I'm using RJS.Web.WebControl.PopCalendar
when I click on the popcalendar, menu items disappear(when i click on the menu, submenu not appear).
why?how to retrieve menu items?
modified on Tuesday, October 27, 2009 7:22 AM
|
|
|
|
|
Have you tried the vendors web site? I bet they have a support section.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I m Developing website.....
In website, i have to update Latest News ....
For this, i created a table in database and i have field News Heading and News Path(Path means web Address).....................
What i have to do is to fetch "News Heading" from database and have to display it on the webpage, and "News Heading" must act like hyperlink, and it will take webaddress from database ......
I hope you got what m trying to say......!!
Thanks in Advance
Regards
Lalit Manik
|
|
|
|
|
1. First, get the url count from db and create as much as links dynamically you want.
2. Assign the text and url address appropriately.
Hope this helps.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Hi,
It would be better if you type the code, so it might be easy for us to tell whats wrong with it or what u find difficult.
Solution: Fetch What news has to be shown from database and then assign to text property of a Link Button.
|
|
|
|
|
Hey Thanks to both
But suppose in DB there r 20 entries then for this i have to create 20 LinkButtons or Hyperlinks.....
So it will get complicated.
1) I want to do is that first we write coding for calculating the number of entries in Db table.
2) Then corresponds to that entries, it will generate that number of link buttons..
Isnt it?
|
|
|
|
|
you can use the repeater control.
|
|
|
|
|
I tried to create one LinkButton. Used this code.
Dim hlink As LinkButton
Dim sw As System.IO.StringWriter
Dim htw As HtmlTextWriter
hlink = New LinkButton
hlink.ID = "ZoneLink"
hlink.Text = "TestButton"
sw = New System.IO.StringWriter
htw = New HtmlTextWriter(sw)
hlink.PostBackUrl = "Default2.aspx"
hlink.RenderControl(htw)
Response.Write(sw.ToString)
But only displays the text. No hyperlink is displayed ?
|
|
|
|
|
Use this code (is in c#):
Literal lit = new Literal();
lit.Text = @"<a href=""Default2.aspx"">TestButton</a>";
lit.RenderControl(htw);
Response.Write(sw.ToString());
|
|
|
|
|
This method is not causing the postback event.
|
|
|
|
|
Ok then try this:
LinkButton hlink = new LinkButton();
hlink.ID = "ZoneLink";
hlink.Text = "TestButton";
hlink.PostBackUrl = "Default2.aspx";
form1.Controls.Add(hlink);
|
|
|
|
|
Thanks for the reply darkcalin.
The thing is that they have created one user control which gets html tags as input and prints a table. But I I add this to form , my problem is not solved.
What I am doing is that creating a control and and rendering its contents to html page.
Hope I am clear now
|
|
|
|
|
Try this:
HyperLink hlink = new HyperLink();
System.IO.StringWriter sw = new System.IO.StringWriter();
HtmlTextWriter htw = new HtmlTextWriter(sw);
hlink.ID = "ZoneLink";
hlink.Text = "TestButton";
hlink.NavigateUrl = "Default2.aspx";
hlink.RenderControl(htw);
Response.Write(sw.ToString());
|
|
|
|
|
This one I have Already tried. The things is that the HyperLink is Not Causing the CrossPage postback. I need cross Page PostBack
|
|
|
|
|
For moment i don't have any idea. Could you please write more code here to see how can we fix that
|
|
|
|
|
|
Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1).
Heres what i have done:
-Placed the complied ASP.net application and its files to D:\mypage\
-Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727)
-Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected.
Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page".
Im out of ideas. When I did the same on my local host everything worked fine.
Thax in advance
|
|
|
|
|
In my website I want to give a feature to admin, that:
1. It can create an HTML content (including images) for a page and then save it.
2. Admin can create any number of such pages and mark them as active/inactive.
3. When a user logs in any random active page is displayed as her home page.
Can anybody suggest how should it be done.
Any help is greatly appreciated.
Thanks.
|
|
|
|
|
I think you then need to store the html in database and a handler that handles the aspx extension should be used to call the database for the page based on some id.
|
|
|
|
|
Would it possible to get a suggestion on which HTML editor be the best to use in this case.
Also, if I write a handler for aspx pasges wouldn't it affect functioning of other aspx pages.
|
|
|
|