|
|
Good Morning All
I have a user control that i have exposed selection of the items through a hiden texbox and it working fine that way. and i have grouped Controls(not a usercontrol)All this are inside an Update Panel. Now in the group controls i have a gridview. Now as i said ontextchange event of the usercontrol i want to update the display on the Gridview and the page must not flicker. i have a link to the Screenshot of my Page. The Left part is usercontrol and the right part is not the usercontrol and at the bottom i have highlisted the textbox that changes when the items are selected. and there is a grid on the right, that i was to update when the text changes from the textbox at the bottom
http://www.codeguru.com/forum/attachment.php?attachmentid=24880&stc=1&d=1242632709[^]
Thank you
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I am updating some data using detailView.
detailView is being populated by object datasource
I want to keep hold the update mode of the detail view if update is false.
I wrote detview.ChangeMode(DetailsViewMode.Edit); in the detview_updating method. But it changed the mode to Item mode(DetailsViewMode.Readonly).
How can keep hold the update mode ?
Thanks in advance
modified on Monday, May 18, 2009 4:17 AM
|
|
|
|
|
In my application I have used window.confirm('Are you sure to insert').It shows a msg box with ok and Cancel button.Now my problem is how to catch which button is pressed by the user at the server side code.and according to that i have to do the concerned functions.
|
|
|
|
|
souravghosh18 wrote: which button is pressed by the user at the server side code
Capture the input and use XmlHttp to transmit the contents to the server and examine the response.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
thanx for the response can you plz elaborate a little
|
|
|
|
|
|
It return true/false based on the click.Accordingly call your server side code
modified on Monday, May 18, 2009 6:59 AM
|
|
|
|
|
Brij wrote: Why don't you javascript confirmbox?
Well, what do you window.confirm is?
|
|
|
|
|
souravghosh18 wrote: window.confirm('Are you sure to insert')
If user presses OK, it returns TRUE . You can use it like
if(window.confirm('Are you sure to insert'))
else
|
|
|
|
|
Hi,
I have a generic object of type List<Items> with a sub collection of objects of type List<Descriptions>. I want to bind them to a gridview but not sure if it's possible, I have tried binding only the object of type List<Items> but if I try adding an ItemTemplate with another grid to try to bind the object of type List<Descriptions> i'm getting an error. says "it should implement IDatasource." something.
my column structure in the grid would look like this.
<Columns>
<asp:BoundField DataField="Key" HeaderText="Key" SortExpression="Key" />
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="Name" />
<asp:TemplateField HeaderText="Descriptions" HeaderStyle-CssClass="headerstyle">
<ItemTemplate>
<asp:GridView ID="gv_descriptions" runat="server" DataSourceID='<%# DataBinder.Eval(Container.DataItem, "Descriptions") %>' AutoGenerateColumns="false"
AllowPaging="true" EnableViewState="false" BorderStyle="None" GridLines="None" ShowEmptyTable="true" AllowSorting="true">
<Columns>
<asp:BoundField DataField="Description" HeaderText="ShortDescription" SortExpression="ShortDescription" />
</Columns>
</asp:GridView>
</ItemTemplate>
</asp:TemplateField>
</Columns>
|
|
|
|
|
Handle the RowDataBound event, find the nested GridView and bind List<Descriptions> .
|
|
|
|
|
dear while binding grid you must be doing some thing like..
grid.datasource = obj so this obj is not iEnumerable or idatasource
might be you changing generic with something else..
type here obj.tolist() to make it ienumerable...
Government Dyal Singh College Lahore.
|
|
|
|
|
Hi all,
Can any one tell me where the data will be stored while debugging! i mean where the debug data will be maintain while you are debugging the application?
Thanks in advance!!!!
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
Aren't the PDB files designed for this purpose?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
It will be stored in the Program Database file (.pdb file). A PDB file is created during compilation time from the source file and it contains all modules with their associated addresses and symbols. Stored data in a PDB file can be accessed and extracted by using DIA (Debug Interface Access). For more information on DIA, go to:
http://msdn.microsoft.com/en-us/library/x93ctkx8.aspx[^]
Regards
Saanj
Either you love IT or leave IT...
|
|
|
|
|
Hi There,
I want to know how to typecast date in javscript.
I had done as show below but when I assing date to systemDate then it shows value of
systemDate as invalid date.
Can anybody tell me what is the problem.
---------------------MyCode-----------------------
var systemDate1 = document.getElementById('<%=txtFollupDt.TextClientId%>').value;
var systemDate=new Date(systemDate1);
Thanks,
|
|
|
|
|
You have to assign date like this
var systemDate=new Date(year,month,date);
eg:
var systemDate=new Date(2009,4,18);
Cheers..!
Vijay s
|
|
|
|
|
Hi all,
Can any one tell me the link or any example regarding dynamic data template in asp.net + c#.
Thanks in advance,
|
|
|
|
|
Try this one
http://www.simple-talk.com/dotnet/.net-framework/dynamic-data-templates-in-asp.net-3.5/
|
|
|
|
|
H,
I am new to asp.net, when i created a sample Web App and tried to run it , it showed me an error "WebDev.WebServer.exe has encountered a problem". I reinstalled the VS 2005 but the same error persists when i run the application . How could i solve this problem .
Plz help.
|
|
|
|
|
Searching before you post is a good practice. Here[^] is a blog post which was my first hit when I searched.
|
|
|
|
|
Hello,
I would like to make a Bulletin Board with Repeater.
I know how to bind data to Repeater control.
Is there sample board used with Repeater??
Thank you.
Have a nice day.
|
|
|
|
|
If you know how to bind repeater and use it, what is the big deal in designing a bulletin board?
|
|
|
|
|