|
Plz refer the following link[^]
If U Like My Post Rate This MSG
Regards,
Magi
|
|
|
|
|
|
If you are using asp.net 2.0 , get it Tab Extendar
bEst rEgard
pAthan
please don't forget to vote on the post that helped you.
|
|
|
|
|
Is this conversation cover me from cross-site scripting in asp.net post forum pages?
< to & lt;
> to & gt;
& to & amp;
|
|
|
|
|
I'm experiencing an unexpected problem with posbacks on my user control.
I have a private variable within a user control which I initialize in the Page_Load event of the class (see code snippet below). I also have my button click event in which I call a method of this private variable. When the button is clicked, I would expect the Page_Load event handler to be called which will initialize the variable, and then the button click event handler to run the method, but what I'm seeing is the "_presenter" variable is null once it reaches the button click event handler. (It initializes ok in the Page_Load event). Am I misunderstanding the page life cycle? I've used similar code for web pages with success. The OnLoad and Event handler run in the same cycle so I would expect the variable to remain "alive" during the cycle. The code here is complete except for some accessor/modifers I didn't include. The user control is placed within a repeater. Any comments would be great.
public partial class PhaseOneItem : System.Web.UI.UserControl, IApplicantView<br />
{<br />
private ApplicantViewPresenter _presenter;<br />
<br />
protected void Page_Load(object sender, EventArgs e)<br />
{<br />
_presenter = new ApplicantViewPresenter(this);<br />
}<br />
<br />
protected void btnUpdate_Click(object sender, EventArgs e)<br />
{<br />
_presenter.Update();<br />
}<br />
<br />
}
WoweeZowee
|
|
|
|
|
AdamS1979 wrote: The user control is placed within a repeater
Remaining all looks fine and it works for me too. But I have doubt on putting this in repeater. Can you explain this bit more ?
|
|
|
|
|
I am trying to update and delete records from a database using gridview (visual studio 2005) but its not deleting or updating. when i click the edit , i edit the record then when i click update it does nothing!!! i have tried everything? Any1 have ne ideas?
|
|
|
|
|
|
Check whether u specified datakey value in the source code .
|
|
|
|
|
I have built an aspx page but i cannot not access it remotely. It generates an error when i try to access the specific page. But it works fine when i just access the host. I am using IIS. Can anyone help
|
|
|
|
|
Hi,
Have you registered ASP.NET on IIS on server? Are you putting ok the correct port?
Visit my blog at http://dotnetforeveryone.blogspot.com
|
|
|
|
|
how do i register asp.net on IIS.???i can access the default page that comes with iis by default (under contruction.....) but not the aspx
|
|
|
|
|
hi,
yes ASP.NET is definately registered. Do i need to allow access to the specific port in the settings because i have tried absolutely anything and i just cannot connect remotely. thanks
|
|
|
|
|
If you are using SQL server.. Please Check remote connection whether it allow remote connections or not... if not then you need to allow the remote connection to access ur site remotly......
With Best Regards!!
Muhammad Noor..
|
|
|
|
|
Hi,
When i try to sort, dataview records disappears. I have used AllowSorting="true". When I tried to debug the sorting event is not firing. Can anyone say what is the problem.
|
|
|
|
|
try and set viewstate=true for the dataview.
|
|
|
|
|
I have set Enableviewstate=true, my paging is working fine. The problem is gvToDoList_Sorting event is not firing when i click header to sort.
|
|
|
|
|
Hello
I can create ajax enabled hovermenu control like you see in microsoft.com home page (Highlights-Latest releases-Using your computer-...). But User only can see their contents if move mouse over them.
1)I want to show contetns of one of them by default at the start of website like microsoft.
2)As you see mouse over causes to changing back theme of menues. How can i do this.
Tanx
|
|
|
|
|
Hello guys.... ive a problem with some pictures (gifs) on a asp.net page...
The thing is that im using an imagebutton , so when I declare the button I give it an url image on my project, then if the client clicks on it, it change its image (so at first the image is halt, then after the click change it for a gif animated, so the image on the button begins to move)
The problem is that I have a automatic Javascript refresh every 20 sec, so when the page refresh, the image backs to its original state, to its original image. (halt)… no movement… so ..
Any ideas?? How the imagebutton could keep its image after the refresh….
|
|
|
|
|
Save information about the state in a hidden field, so that the code on the server side can pick it up and recreate the image button according to it.
---
"Anything that is in the world when you're born is normal and ordinary and is just a natural part of the way the world works. Anything that's invented between when you're fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it. Anything invented after you're thirty-five is against the natural order of things."
-- Douglas Adams
|
|
|
|
|
ok, can you give me an example plz...
|
|
|
|
|
Actually i have placed some images in a single webpage with visible="false" and i need to check it with date and month, if both matches then one image has to be visible and next time when date and month matches it has to show successive(next) image and hide the previous image. working on asp.net 2003 with vb.net
Pls help me out.
|
|
|
|
|
hi
I have a gridview with one column in a asp.net webpage .
i want to insert images(from a table)into it.but i want to insert 4 diffrent images in one row.(for making the page more suitable)
how can i do it?
|
|
|
|
|
Display image from gridview[^]
In this Article , in each row there is an image. you can add more than one Imagefiled in a single row .
And this article was from mind !!!!!
Good luck ...
|
|
|
|
|
I need to display an image of unknown size (comes from a user supplied URL) in a panel of a fixed size. If the image is small it should appear centered in the panel, if it is larger than the panel, it needs to be scaled to fit. How would I go about doing this?
|
|
|
|