|
How do i write javascript to call dll or exe in asp.net web application?
nevinda
|
|
|
|
|
|
How to access the dynamically created ASP.NET 2.0 controls
|
|
|
|
|
Page.FindControl(string controlId);
|
|
|
|
|
Thanks but i found solution, anyway thanks 4 ur time
|
|
|
|
|
|
Thanks 4 u reply and ur link is very usefull and i have found solution in this way u suggested me....
|
|
|
|
|
Hello,
I posted something similar to this post before but this is slightly different.
The GridView gets populated and in the _RowDataBound event the Accept button(select CommandField button) gets replaced by a text value if there is one as shown below:
The find button populated the GridView correctly and Accept button is replaced with a text where necessary but not sure why when the checkbox on the page is clicked on, then ALL the Accept buttons are shown on the GridView (Which is incorrect).
The check box control only shows a label.
Thanks
If (e.Row.RowType = DataControlRowType.DataRow) Then
'show the clinic code since there is a start date other wise just show the Accept button...
'If Not (e.Row.DataItem("c_start_date").ToString() Is Nothing) Then
If Not (e.Row.DataItem("c_start_date").ToString() = "") Then
e.Row.Cells(9).Text = e.Row.DataItem("c_clinic_code").ToString() 'Change ur text here
End If
End If
|
|
|
|
|
That's because you do it in the RowDataBound event handler which basically happens when data is bound to the control. On postback, this method does not execute if you don't bind data, and the button reappear. So like I said in the other post, you should use two controls here and simple use the Visible property to control the visibility of the controls as this property is persisted in the ViewState.
|
|
|
|
|
Hi Developers
I have written code for two way sorting of Datagrid, and its working fine, BUT I want to have two "Arrows"(Upward and Downward) in each column of datagrid. So that when I click on upward arrow grid is sort in Descending and when I click downward arrow grid should be sorted in Ascending Order.
Any code or reference related to this will solve my problem.
Thanks in advance
Lets work it Out.........!
-- modified at 7:20 Friday 23rd June, 2006
|
|
|
|
|
Just use upword and downword arrow Image and attach it to ur code.
ok fine I will send u Image and code just give me ur email.
Balasaheb
Software Developer
Platform: Asp.net,vb.net
Database: SQL Server 2000
|
|
|
|
|
Hi ALl,
Geetings...can anyone help me regarding the Object Data Source control used in asp.net 2.0
Babu
|
|
|
|
|
Sure! But it would be highly appreciated if you could specify what exactly do you want to know.
Otherwise read http://msdn2.microsoft.com/en-us/system.web.ui.datasourcecontrol.aspx
or any other page from 17,800 pages which google spits on you when you type "DataSourceControl" in.
|
|
|
|
|
Hello all,
our asp.net 1.1 site, in our home page there are few links. that links javascipt written in C#
<br />
objCell.Attributes.Add("onmouseover", "Javascript:moveOver_LeftMenu();");<br />
objCell.Attributes.Add("onmouseout", "Javascript:moveOut_LeftMenu);");<br />
this is working fine for IE6. but problem with it is not working in case of Mozilla firefox browser.
my qtn is how to handle in case of Mozilla.
any sounds or suggestions are appriciated.
regards
GV Ramana
|
|
|
|
|
hi any body use domvalidator control... If yes then how to remove dot from each message...
e.g
Important Messages
* Please enter name on account.
* Please enter billing address.
* Please enter city.
* Please select expiry date
* Please enter credit card number.
* Please enter zip code.
I have to remove star.. from each msg...
Thanks
|
|
|
|
|
Hello Friends
how are you
i have a problem in xslt and xml technologies.
in my ap.net application i have a xml file and an xslt file which cnverts the xml file into html view using an xml control of asp.net.
here i am able to print my html view which is displayed in xml control, which is placed in aspx page.
my problem is how to insert page breaks in xslt file, so that i can print multiple pages with page breaks after every 15 records.
here i am using window.print() to print the document.
kindly help me.
my work was strucked here.
SanJay
|
|
|
|
|
Use the CSS style page-brake-before or page-brake-after.
---
b { font-weight: normal; }
|
|
|
|
|
Hi frends
I have developed my web application by using ASP.net 2.0 but not getting the idea to implement this on server .....
as we do in asp.net 1.1 create dll file and put it into bin folder keep all the .aspx files in folder and upload on to web server.....
but in ASP.net 2.0 i am unable to create the DLL file and configure to IIS also...
anybody can help.......
Dinesh Sharma
|
|
|
|
|
Web application contains folder App_Code, which contains files to be compiled (no need of dll, just put these files in this folder). Note that only files placed in this folder are compiled.
If you need to reference dll, then add reference to it as in .NET 1.1, right click your project, add reference... it will create bin folder with referenced dll.
Another idea is to create instalation package which do dirty work for you.
Or check this [url] Visual Studio 2005 Web Deployment Projects [/url]
-- modified at 12:15 Friday 23rd June, 2006
|
|
|
|
|
You can see my post[^] right below.
|
|
|
|
|
We are using ie web controls treeview. We have used client side selectedindexchanged for performance issues. It works fine in IE. But in Netscape rendering is entirely different and posts back for all the clicks. How to make SelectedIndexChange clientside event work in Netscape also.
|
|
|
|
|
As you may already know that the Microsoft TreeView controls renders differently with IE and non-Microsoft browsers, and IMO you'll have 2 options here:
+ Keep using the control, but you need to edit the source code of the control to make it work with non-Microsoft browsers like Netscape.
+ Don't use the Microsoft IE controls, use a third party control instead which support multiple browsers, you can check out the control gallery[^].
|
|
|
|
|
i have 2 tables, table1 and talbe2, these table have relationship: master-detail, for example:
talbe1: id_dept
dept_name
......
table2: id_staf
staf_name
id_dept
i use a datagrid to diaplay data from table1, when i click to id_dept at each rows in datagrid, i want to move detail_page2.aspx and it will display all infomation about staf in dept that has that id_dept. how can i do it??? i want to use Session variable. pl help.
thanks alot.
still alive
|
|
|
|
|
HI,
Why do u want to use session variable.U can Directly use Templete column on 1st page and on ItemDataBound Event u can use this:
if(e.CommandName == "Select")<br />
{<br />
Response.Redirect("detail_page2.aspx?id_dept="+ e.Item.Cells[0].Text);<br />
}
Try this.
Thanks and Regards.
|
|
|
|
|
ok, i will try. thanks any way.
still alive
|
|
|
|