|
refer this and add style for the extender ...
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/ModalPopup/ModalPopup.aspx
|
|
|
|
|
Hi everybody, I made an application in asp.net using c# in vs 2003, so now we are using VS2008. In this application I have a class that generates charts and with the old framework everything worked fine, but now in the framework for vs 2008 it not runs! when I run the site and make the request of the chart I get the message below:
Failure Recovery COM class factory for component with CLSID (0002E55D-0000-0000-C000-000000000046) due to the following error: 80040154.
The class that generates charts does reference of Microsoft.Office.Interop.OWC11.dll, I've searched on other sites and discussion groups and not got a solution for my case ... Some say that I must register the dll, others say you should give access to the COM object clsid (0002E55D-0000-0000-C000-000000000046) ....
Anyone know something that can be done?
Thanks
Felipe, Brazil
|
|
|
|
|
|
hi iam using asp.net with c#
in my gridview 1st column is templatefield which contains check box control,
default i set to check, iam displaying data at page load event
but when i unchecked the checkbox then that row should be remove from gridview .
can you give me example which helps me
|
|
|
|
|
Check.. This may help you link
|
|
|
|
|
So for that, use rowcommand event and when user uncheck the checkbox then remove it from db and bind the grid again.
for details on rowcommand event, have a look to the link Click here
|
|
|
|
|
for (int i = 0; i < GridView1.Rows.Count; i++)
{
CheckBox ck=(CheckBox)GridView1.Rows[i].Controls[0];
if(!ck.Check)
{
GridView1.Rows[i].visible=false;
}
}
modified 27-May-14 4:38am.
|
|
|
|
|
Dear All,
I am exporting grid view to excel using following code
void Export()
{
string attachment = "attachment; filename=Contacts.xls";
Response.ClearContent();
Response.AddHeader("content-disposition", attachment);
Response.ContentType = "application/ms-excel";
StringWriter sw = new StringWriter();
HtmlTextWriter htw = new HtmlTextWriter(sw);
GridView1.RenderControl(htw);
Response.Write(sw.ToString());
Response.End();
}
but what happens, It exports all the control to excel. I have button, listbox and other controls above my GridView but when exporting I want to export only my gridview to Excel
using above code all the page is exported,
any ideas how to export only gridview to excel?
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Your code looks clean to me. It should work. Have you overridden VerifyRenderingInServerForm method?
public override void VerifyRenderingInServerForm(Control control)
{
}
|
|
|
|
|
I have already done that but no success.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
|
thanks for your reply.
I have done the same thing, but all controls within the page are rendered and exported to excel file.
I want to export only the gridview not other controls.
Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan
|
|
|
|
|
Im looking for a interactive gannt control for my web app (something that mimics MS Project)
the only half decent control ive found is
http://www.plexityhide.com/[^]
but wanted to see it anyone else uses anything better?
thanks
|
|
|
|
|
Have a look on [Component Source]. You can usually download trail versions on components, to try before you buy.
Steve Jowett
-------------------------
Real programmers don't comment their code. If it was hard to write, it should be hard to read.
|
|
|
|
|
Hello,
In my website I am maintaining log of users in which I am storing some user's information such as user machine IP number,SessionId,UserName etc.and able to show the list of current and past users in webpage.
I want to share a browser session of my current users.suppose there are many users who is accesing my site and if I click any perticular user then we can find the user's session and able to know the working of users.
Is it possiable,if yes then how ?
Please tell me......
Thanks to all.
modified on Tuesday, April 6, 2010 4:01 AM
|
|
|
|
|
Samarjeet Singh@india wrote: I want to share a browser session of my current users.suppose there are many users who is accesing my site and if I click any perticular user then we can find the user's session and able to know the working of users.
You cannot share other user's information from one session. May be try using Application object which can be shared across the users.
|
|
|
|
|
hmmmmmmmmmmmm,
I am not very sure but I heared that some shopping site have sites where we shop on, and they can have people join you session and drive it and user sees you moving around driving it.
Thanks to Reply.
|
|
|
|
|
In that case you have to write your own Session Management. Simple way is maintaining a static or shared object.
|
|
|
|
|
Hi ,
I am hosting web site on IIS 7 on windows vista operating system.I am getting
HTTP Error 500.19 - Internal Server how to fix this issue.
Thanks and regards,
Amit Patel
|
|
|
|
|
|
Try to run application under IIS_IUSRs user or Put your publish code into C:\Inetpub\wwwroot\ folder.
|
|
|
|
|
Hi Everyone,
My menu is looking like following,
<a class="menu"; href="page1.aspx"; title="Page1"> Page1 </a>
<a class="menu"; href="page2.aspx"; title="page2"> page2 </a>
<a class="menu"; href="page3.aspx"; title="page3"> page3 </a>
Now i want to disable page3 menu.
how to do it...
any help will be appriciated...
thanks...
G.Paulraj
|
|
|
|
|
Try this,
<a class="menu" href="page3.aspx" title="page3" disabled="disabled"> page3 </a>
|
|
|
|
|
Hi Arun Jacob,
Its working in Internet Explorere. but not working in other browser(Opera).
G.Paulraj
|
|
|
|
|
Okay then either remove href attribute or set onclick="return false;"
|
|
|
|