|
How to run exe using a .NET code
i mean if i hav a exe in some location and i wanna run it through my code
|
|
|
|
|
paresh_sarjani wrote: Again interesting question
It not much interesting. Is it ? Please put a meaningful title when you post messages.
paresh_sarjani wrote: How to run exe using a .NET code
Looks at the Process class. Process.Start would do it.
|
|
|
|
|
<td id="HeaderLogo" runat="server"></td>
Bellow code written in Page_Load
I will use either option 1 or 2
option 1:
//For Header Image or Logo
HeaderLogo.BgColor = "#FFAAFF";
HeaderLogo.Style.Value = "background-image: url(images/f06.jpg);background-repeat:no-repeat;";
now I want to set For above image width,height,allignment(horizontal and vertical)
option 2:
//For Header Text
HeaderLogo.InnerText = "Test Header";
HeaderLogo.VAlign = "top";
HeaderLogo.Align = "center";
HeaderLogo.BgColor = "#FFAAFF";
now I want to set FontColor and FontSize also in option 2
You get the best out of others when you give the best of yourself.
|
|
|
|
|
How i can add click event on dynamically created ImageButton
|
|
|
|
|
try this
btn.Click += new EventHandler(sub_Click);
We are not a Code Charity
|
|
|
|
|
C#:
ImageButton button = new ImageButton();
button.Click += new ImageClickEventHandler(button_Click);
VB:
ImageButton button = new ImageButton
AddHandler button.Click, AddressOf button_Click
|
|
|
|
|
C#
<br />
button.Click += new EventHandler(Button_Click);<br />
vb
<br />
AddHandler buttonn.Click, AddressOf Button_Click<br />
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
I want to zoom that image when i click the Image Button..
Where I write that code ?.
|
|
|
|
|
check this out
http://www.codeproject.com/KB/web-image/ASPImaging1.aspx
We are not a Code Charity
|
|
|
|
|
Masood Kochi,SSF wrote: click event
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Hello,
I have a treeview with checkboxes and I want to get the Text of each checked
item into GridView or something with javascript. I don't want to postback.
Thanks
|
|
|
|
|
I think it would make more sense to use c#.
Why do you want to use javascript?
Is the treeview written in javascript?
You should try searching the net as well before you post asking for code.
We are not a Code Charity
|
|
|
|
|
the TreeView I used isn't whit javascipt.
and I said the reason that why i want to use javascript in first post. can see it?
I DON'T want to postback my page !
I search it before.
tanx
|
|
|
|
|
OK but the way you are going about this seems strange.
a user can turn javascript off in their browser.
check this article out:
http://www.codeproject.com/KB/webforms/ClientSideTreeView.aspx
We are not a Code Charity
|
|
|
|
|
Hello,
Can anybody suggest any other name for SLA.
A service level agreement is a group's ( or a department's ) commitment to attain specified performance levels. It’s a quantifiable measure of a group's productivity and efficiency.
We are having a intranet web tool and there is a requirement to update the name of the SLA tool to something else. Any guesses?
Thanks & Regards
|
|
|
|
|
I would put this post in the Lounge not this forum.
We are not a Code Charity
|
|
|
|
|
hi friend i m very fresher in asp.net,
and i have to make a forum in asp.net.
for this i need that new forum creation.
for this there should be new page . iwant that when user clicks new button it automatically generate new web page named forum name and with all contents of previous page
|
|
|
|
|
Ok, you are asking for quite a lot.
To create a forum from scratch is a big job.
There is a good asp.net open source forum out there called YAF. http://www.yetanotherforum.net
Check this out.
We are not a Code Charity
|
|
|
|
|
i just want to know."how to create new web form on button click"
|
|
|
|
|
Do you want to create a new .aspx page on the fly?
EVEN THE WORD IMPOSSIBLE SAYS I M POSSIBLE.
|
|
|
|
|
Add a new form called WebForm2.aspx in IDE. On button click event, write Server.Transfer("WebForm2.aspx"). This will open just a blank aspx page.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
Actually i need to create a webform which doesnt exist in our project.I need to create that form at run time
|
|
|
|
|
I am doing red color for particular item means like rows[1][3]
and these records in DataDable dt now not in GridView
after that
GridViewID.DataSource = dt;
GridViewID.DataBind();
so my code working in DataGrid but not in GridView
how to do in GridView also.
MyCode is:
DataRow drow = dt.NewRow();
drow[ddlFacilityName.SelectedItem.Text] = "<font color='Red'>" + m_dtCSV1.Rows[i][ddlFacilityName.SelectedItem.Text].ToString() + " is not found </font>";
"<font color='Red'>" working in DataGrid but not in GridView so what can I do in case of grid view.
thanks
You get the best out of others when you give the best of yourself.
|
|
|
|
|
You need to set HTMLEncode Property of the GridColumn to False which is True by default. Use the design view Edit Columns option to change the property.
|
|
|
|
|
Hello, there,
I am using Ajax in an application page in SharePoint 2007. I found that when there is an exception. Ajax will show a dialog box says " Sys.WebForms.PageRequestManagerParserErrorException: The message
received from the server could not be parsed.", and the original exception message is not displayed.
I know I can use registerpostbackcontrol() function to register the button that causes the exception to make the original SharePoint error page to show up. But I do not want to do that. Is there any other way to make the original SharePoint exception/error page to show up?
Thank you very much.
Best regards,
Bin
|
|
|
|