Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:775843
More Search Options
RSS Available
Matching Posts
Re: Client side Javascript wont fire.
Try this: Page.ClientScript.RegisterStartupScript(Me.GetType(), "StartupScript", "<script>myfunction();</script>") You should change StartupScript to something more descriptive if you want, but it doesn't matter.
Posted to
Web Forms
(Forum)
by
conankingofcool
on 8/7/2009
Re: Update Panel, SQL Database and Modal Pop-up Drop Down Error
In your Page_Load method, you should put the code that populates everything from the database inside this If statement: If !Page.IsPostBack { ... } The Page_Load method is called before your button's click event and resets all the values of your address back to their value in the database. You only need to populate the controls once and Viewstate will remember them across postbacks.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
conankingofcool
on 6/30/2009
Re: Gridview Full Row Select, Ignore one column
I think I've managed to find a better workaround for this. The row "onclick" attribute that executes the select postback is now surrounded by an if statement that checks an attribute I have added to the row called doSelect, which is initially set to the value "true". I also added an "onclick" attribute to the cell I want to ignore that sets the doSelect property of its parent node to "false". The onclicks look like this: Row onclick: if(this.doSelect =
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/16/2009
Re: Gridview Full Row Select, Ignore one column
I have tried your suggestion and it does not work. The row's onclick attribute overrides the CheckBox's onclick because I'm pretty sure it gets fired first, so it never reaches the CheckBox's onclick attribute since the row's onclick executes a postback.
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/16/2009
Re: it is not work. ClientScript.RegisterClientScriptBlock(GetType(Page), "uniquekey", "confirm('Güncellemek istediğiniz ilanınızı seçiniz')", True). what can be problem ?
Replace confirm("Site Already Added") with alert("Site Already Added").
Posted to
ASP.NET AJAX UI
(Forum)
by
conankingofcool
on 6/16/2009
Re: Gridview Full Row Select, Ignore one column
ramireddyindia, Thanks for the reply, but that is what I have implemented already. I have a full row select already in place, but when a checkbox is in a column, you can't click it without selecting the row. I need the checkbox to act normally without any postbacks.
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/15/2009
Re: Gridview Full Row Select, Ignore one column
I realized, unfortunately, that this solution will only create one header for all the columns you want to select and there will be no sorting. I think I can put a table inside the header template to solve this, though.
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/15/2009
Re: Gridview Full Row Select, Ignore one column
Thanks for the quick reply. I'm glad someone else has run into this. I've been searching and searching, but couldn't find any information. I'll try this solution out. Thanks!
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/15/2009
Gridview Full Row Select, Ignore one column
I have created a custom GridView control that adds an "onclick" attribute to the row in OnRowCreated to allow for full row selection instead of a button in a column. I am using my control on a page that needs a checkbox column in the GridView, but the checkbox should not actually select the row when clicked. Of course, it does select the row because of the "onclick" attribute of the row. I have developed a workaround for it where I tell the control what column I want it to ignore
Posted to
Data Presentation Controls
(Forum)
by
conankingofcool
on 6/15/2009
Re: PageMethod executed onunload
Thanks for the reply, I've tried out debugging and its like there is nothing to debug. It seems like the request never reaches the server. I'll try taking out the MsgBox, but the PageMethod is running fine and always executes the sql statement correctly. Do you think that it might be because its a PageMethod and not a WebService? I might try to turn it in to a WebService and see what happens.
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
conankingofcool
on 6/2/2009
Page 1 of 15 (141 items) 1
2
3
4
5
Next >
...
Last »
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
WindowsClient:
Anybody build a XAML parser in C or C++ yet?
WindowsClient:
Silverlight use, power and deployment keeps growing; so does WPF
ASP.NET:
T4CSS: A T4 Template for .Less CSS With Compression
WindowsClient:
JSON-P: An Elegant Hack
Channel 9:
Photosynth Update and New UI
Channel 9:
First Look: Streetside in Bing Maps
Channel 9:
Coding4Fun at PDC 2009
WindowsClient:
10 Must-See PDC 09 Sessions
Channel 10:
Photosynth Updated with New Release and New UI
Channel 10:
WindowsBlinds 7 Now Works with Windows 7
Channel 10:
Zune HD Launches New Colors
ASP.NET:
PDC09: ASP.NET MVC 2: Ninjas Still on Fire Black Belt Tips
ASP.NET:
Hanselminutes Podcast 188: ASP.NET MVC 2 Beta with Phil Haack
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online