|
They are assuming you're using a standard TextBox control.
You appear to be using a third party control. Check the documentation on the control or contact the people who wrote it for support.
I've never used it...
|
|
|
|
|
i got SP that is working fine ,i checked it in the SQL serever ,but it is not working with the Grid ,i tried changing the parameter name but it didnt work , here is the ASP code
--------------------------------------------------------------------------
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:APServerConnectionString1 %>"
DeleteCommand="Multiple_Delete" SelectCommand="SELECT PROC_INST_ID, PROC_INST_NAME, DEF_NAME FROM WF_PROC_INSTS" DeleteCommandType="StoredProcedure">
<DeleteParameters>
<asp:Parameter Name="_PROC_INST_ID" />
</DeleteParameters>
</asp:SqlDataSource>
-----------------------------------------------------------------------
is there anything wrong here?
ThnX
|
|
|
|
|
Aren't we suppose to define sp name in sqldatasource attibutes?
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
thnx for replyin ,
Actaully i did'nt write that code it was auto generated by the grid when i configured the datasource
|
|
|
|
|
Hi all,
consider the following property
private string _name;
[DBField("Emp_Name")]
public string Name
{
get{returen _name;}
set{_name=value;}
}
I want to populate the Name property like this:
expectedProperty=fn_2_getProperty("Emp_Name");
propertyInfo.SetValue(expectedProperty,reader.field["Emp_Name"]);
In statement: I have a property "Name" decorated with DBfield attribute. the value of DBField is "Emp_Name". Now I want to populate Name property with the help of "Emp_Name".
how can I do it.
thanks in advance
|
|
|
|
|
hi there, I want to create two web applications that communicate which each other, like a chat room, or one web application will send a message or variable or data, and the other web application will receive it. Is that possible? I want to try Session variable but I think it cannot detect by another application that will receive it. Any idea with here guys? Thanks in advance!
|
|
|
|
|
Use web service.
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
There must be a unified channel. Place each of those data into database and access data for both the solution to the same database. Thus giving a way to communicate.
In case of chat rooms, each of users connect to server to a specified id(chat room id) and whenever an update to the dataset takes place, updates are sent to each of them.
You might ping the server using AJAX call and see if any update is available to that id and update UI accordingly.
|
|
|
|
|
I have a following structure
App_Code
MyClass.cs [Company.MyNameSpace.MyClass]
Bin
MyLib.dll [Company.MyLibNameSpace.LibraryClass]
From Company.MyLibNameSpace.LibraryClass I need to create an instance of Company.MyNameSpace.MyClass , but I don't know Class name until execution (it comes from XML configuration), so I use Reflection for it:
Type type = Type.GetType("Company.MyNameSpace.MyClass")
The problem is, that when I load a Type from DLL, it doesn't work (type == null), when I do the same from another .cs file in App_Code folder, everything works fine. Is there any work-around to this problem?
|
|
|
|
|
Are you sure you're loading it correctly?
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
|
I've got ASP.NET web application which uses native DLL in C++ wrapped in C# using PInvoke.
Native DLL needs read/write access to specific folder in site location on hdd.
How to enable it?
e.g. in ASP.NET to enable C# write access to specific folder it needs to allow user to have write access to that folder from folders properties.
with native dll that does not work.
Чесноков
|
|
|
|
|
I guess it's related to CAS!
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
Thanks I will click if it is
If I run site from VS, native dll has r/w access and works. It should be some security then
Чесноков
|
|
|
|
|
When a node in a treeview is clicked, a SelectedNodeChanged event is fired if and only if the node that is clicked is not the same node as the previously selected one. However, if I click on a node that is already selected this event is not fired. Does anybody know how I can find out the node that I had clicked on in this instance.
I can use javascript to trap the onClick event but I still don't know how I can find out which node I clicked, in particular, the ValuePath property of the node.
Thanks, in anticipation.
M Pang
|
|
|
|
|
Converting the node into hyperlink would that work ?
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
Deal all,
I have a method in my aspx.cs file say methodone,which will be called from one of the event or method from the same aspx.cs file...
So what access specifier i can give for that method.I am thinking private is enough for my requirement. AM i correct / wrong? Please provide your views...
Thanks,
Srinivas Mateti
|
|
|
|
|
If you want to access the method from your html page, you need to make it at least Protected.
I mean if you write
<asp:textbox OnClick="txt_Click" runat="server" />
the txt_click should be made at least protected. Privates cant be used in events.
If you are just calling the method from the class itself, you can use Private.
|
|
|
|
|
Yes, you're correct.
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
I've got in EditItemTemplate text box bound to specific field:
<asp:TextBox ID="textName" runat="server" Text="<%# Bind('Name') %>"></asp:TextBox>
How to get its corrected value in RowUpdating event?
In GridViewUpdateEventArgs NewValues, OldValues and Keys are 0 element arrays???
Чесноков
|
|
|
|
|
|
What? Did the OP change the post after you replied? I don't see any connection here.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Yes you are right.. I just modified the answer.
|
|
|
|
|
DataGridDemo[^] See the section on Textboxes
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
I am generating an table in code behind and i would like to get it's HTML code so i can include it into an email,
But it doesn't have an innerhtml property.
Thanks
|
|
|
|