|
Hi there. In 2.0 you can use the MaintainScrollPositionOnPostBack attribute of the @Page declaration:
<%@ Page Language="C#" MaintainScrollPositionOnPostBack="true" %>
|
|
|
|
|
I have a web form with a datagrid. One column is select column, another column is privilege column. I add code in ItemDataBound event. Show privilege column only the user has privilege. Otherwise the text in grid cell will be "". Basically hide the cell. but however, when I click select column to show other form, when I come back from that form, then I notice the privilege column changed. All cells in the column show privilege. I step into the code, I found out the ItemDataBound event didn't get fired when the form postback. The grid get a kind of rebind. How can I prevent it happen?
Christine
|
|
|
|
|
Hi there,
The ItemDataBound event only gets fired when you call the DataBind method. If you want this event to raise on postback, you need to call the DataBind method again, but remember to set the EnableViewState property to false in order for the post back events to run properly. Another option is to use the ItemCreated event instead which always occurs when the page is visited.
|
|
|
|
|
Hi,
Do you know ColdFusion of Macromedia? I want to write a program that do some things like ColdFusion ( config IIS by command line ). If you have any idea, give me plz!
Thanks,
Hung
|
|
|
|
|
You do know this is an ASP.NET forum, right?
|
|
|
|
|
, ,,,, this is as ASP.NET forum, Not macromedia, please go away
Moh. A. Shafei
Think deeply be4 write 1 line of code
|
|
|
|
|
Hi,
this is my first post to the forum,and i hope i will be recieved well,
I am having an application in which i should be integrating the newsletter management system.The user will be sending the news letter to the visitors.
I dont know how to start,
can anyone help me in this regard...
thanks
Navinkumar
|
|
|
|
|
Hi Navin
I guess you know the requirements best !
So create it accordngly
If you just want a simple newsletter function..I suggest ...
1) create a webpage
2) for newsletter body, place a HTML editor in the page (e.g. fckeditor see fckeditor.net)
3) add controls/textboxes for collecting from, to, and subject fields
and do the programming ...
Hope this Helps
Arvind
|
|
|
|
|
Hi Aravind,
thanks for your reply.
I have few doubts in getting forward for this application.
1.Is this fckeditor is free and doesnot need liscense in future.because if we are going to insert a third part tool it should not effect the application of the client in future.
2.How to implement the feature of unsubscribing in the application.
I am relatively new to this concept.Help me!
Thanks once again as no one answered for nearly 20 hours.!!!
Navinkumar
|
|
|
|
|
We did a project a while ago using VB6 to create a desktop app for manipulating Powerpoint presentations (a bit like Powerpoint in that respect! )
Anyway, we need to do another one but the format of it would be most suited to a web app that people can connect to via a company intranet. The problem with that is that MS advise that you shouldn't run Powerpoint in a client-server environment, and having used it like that i'd have to agree.
So, my question is: does anyone know of any 3rd party apps that are suitable for running on a web server and that can provide functionality for changing Powerpoint presentations?
Any help would be very much appreciated!
|
|
|
|
|
|
Cheers mate! i'll check that out.
|
|
|
|
|
Hello Coders
in my 2.0 GridView. I have TemplateColumn i.e CheckBoxes i am using. I kept a Delete Button on Top of the GridView. This is only one Delete Button for Deleting the Selected Rows from Grid. This Delete Button code is working fine.
I need delete confirmation Dialgbox when I am clicking the top most Delete Button(if any Row is Selected from GridView).
How to Handle this.
any sounds will be appriciated
regards
GV Ramana
|
|
|
|
|
In this case, you can use the OnClientClick of the Delete button to provide your custom client script to check if any row is selected, then display the confirm message with the confirm method.
|
|
|
|
|
i need a book library suite with the source code asap. it's an assignment and i don't know how to go about it.
please email me if u can help me, i'll give u the specifications. somebody please help me.
chiefbrino@yahoo.com
|
|
|
|
|
www.rentacoder.com
you pay for this sort of help!
|
|
|
|
|
moveman wrote: i need a book library suite with the source code asap. it's an assignment and i don't know how to go about it.
This is exactly the kind of post that most on CP will either ignore, or publicly slam you for. Instead of doing either those things, I can direct you to something that will help you a lot:
the master link with all the answers[^]
|
|
|
|
|
I heard that AJAX can simulate "Multiple-Document Interface" in a webpage.
For example:
http://www.live.com/
http://www.meebo.com/
I have searched through the entire http://atlas.asp.net/ website and still
can't find any sample code that can do this.
Can someone enlighten me on how I can get those nice windows using AJAX?
|
|
|
|
|
|
Thanks, that looks really cool!
|
|
|
|
|
Hi
I need to set the properties of a label programmatically. Those properties being the font weight and color. Is it possible to do so?
Thanks
|
|
|
|
|
Yes, Font color is accessible through the ForeColor property. Can't remember the font weight property, but worst case scenario would be to set the CssClass property to a css class which defines font weight according to what you want.
Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!
|
|
|
|
|
This would set the label's font weight to bold and color to green:
<asp:Label id="lbl1" runat="server"
Font-Bold="true"
ForeColor="green" />
If you needed more control over the font weight, you could use CSS and assign a style class to the label:
<asp:Label id="lbl1" runat="server"
CssClass="myLabelClass" />
To set color & weight programmatically:
void Page_Load()
{
lbl1.Font.Bold = true;
lbl1.ForeColor = System.Drawing.Color.Green;
}
|
|
|
|
|
Thanks For all the help Guys. Can this be done with a linkbutton too?
-- modified at 3:13 Wednesday 19th April, 2006
|
|
|
|
|
i am getting "service unavallable" when ever i access the page. i checked the iis and restarted the services but it's giving the same error
sunny
|
|
|
|