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:791559
More Search Options
RSS Available
Matching Posts
Re: viewstate does not presists during postback - dynamic controls
http://pinkprogrammer.blogspot.com/2008/12/insert-new-row-into-gridview.html
Posted to
Web Forms
(Forum)
by
asasa.mihai
on 12/25/2008
Re: set Range color when creating Excel Document
I use office 2007 and I think this is my problem. (with the Compatibility Checker) I get the exact message from this link: http://blogs.msdn.com/excel/archive/2006/08/11/694891.aspx but it's ok, I've tested it with office 2003 and it's working! Thank you both for your answers
Posted to
Enterprise Services Integration
(Forum)
by
asasa.mihai
on 12/16/2008
Re: set Range color when creating Excel Document
It gives me the error: Methods with System.Color parameters or return type cannot be invoked via IDispatch. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Methods with System.Color parameters or return type cannot be invoked via IDispatch. Source Error: Line 100: Color customColor = Color.FromArgb
Posted to
Enterprise Services Integration
(Forum)
by
asasa.mihai
on 12/16/2008
Re: set Range color when creating Excel Document
If I try System.Drawing.Color col = System.Drawing.ColorTranslator.FromHtml("#efefef"); range.Interior.Color = System.Drawing.ColorTranslator.ToOle(col); it gives me an error when the file is saving: Exception from HRESULT: 0x800A03EC xlsWorkBook.SaveAs(strCurrentDir + strFile, Excel.XlFileFormat.xlWorkbookNormal, ......... thanks
Posted to
Enterprise Services Integration
(Forum)
by
asasa.mihai
on 12/16/2008
Re: set Range color when creating Excel Document
Thank you very much, it worked! But how can I use a color like "#ddeeee" ? Thanks again.
Posted to
Enterprise Services Integration
(Forum)
by
asasa.mihai
on 12/16/2008
set Range color when creating Excel Document
Hi, I read a lot of posts where people were complaining about setting the color for an Excel.Range (using Excel = Microsoft.Office.Interop.Excel) Besides Excel.Range range = null; range = (Excel.Range)xlsWorkSheet.get_Range(xlsWorkSheet.Cells[1, 1], xlsWorkSheet.Cells[1, 4]); range.Interior.ColorIndex = 22; (meaning ColorIndex) does anybody know another solution? or how cand I know what index I should choose for #fefgghe for example? Thanks.
Posted to
Enterprise Services Integration
(Forum)
by
asasa.mihai
on 12/15/2008
Filed under: Range Interior color
Re: Page refresh keeps triggering event
http://bytes.com/forum/thread747934.html
Posted to
Web Forms
(Forum)
by
asasa.mihai
on 11/18/2008
Re: viewstate does not presists during postback - dynamic controls
If you could tell us why is so important to you to recreate these controls exactly after the button's onclick event, maybe we could come with some ideeas. Like u said, "If I'm re-creating the controls in my OnLoad event, the newly created controls bind to the ViewState just fine, provided that I use the same IDs every time.". I had a problem like this once, but I solve it refreshing the page( making a redirect to the page after onclick, since I was checking the date from the database
Posted to
Web Forms
(Forum)
by
asasa.mihai
on 11/14/2008
Re: Page refresh keeps triggering event
First of all, I think you're confusing 2 types of events: the command and the click event. The click event is a simple event that reacts to the click and in this case it's not appropriate to use the CommandName and CommandArgument Attributes. You add it to the button using OnClick="btn_Click". The function to handle this event has the signature: protected void btn_Click(object sender, EventArgs e) -ImageClickEventArgs e for ImageButton. The command event allows you to pass a command
Posted to
Web Forms
(Forum)
by
asasa.mihai
on 11/14/2008
Re: get delete action
I don't understand exactly what are you asking for... <asp:button id="btnUpdate" CssClass="txt1" Text="Save" CommandArgument="1234" CommandName="Update" OnCommand="btnUpdate_Command" runat="server" > protected void btnUpdate_Command(object sender, EventArgs e) { string action = ((Button)sender).CommandName.ToString(); string id= ((Button)sender).CommandArgument.ToString(); // make an update considering the id ... }
Posted to
Web Forms
(Forum)
by
asasa.mihai
on 11/13/2008
Page 1 of 4 (38 items) 1
2
3
4
Next >
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online