|
I am not able to find control in EditItemTemplate column specially in datagrid. I am devloping Web Based Application and using datagrid in that.
I have one pop up modal in that m filling datagrid .
On that datagrid i want Textbox at normal mode and while user click on Edit button it should get convert in DropDown.
So dropdown is in edit itemTemplate Column. But m not Able to find this control.
Please help me for the same.
|
|
|
|
|
Where are you trying to find out that control? I mean in which event?
Apurva Kaushal
|
|
|
|
|
See I want tht control at DataGrid ItemCommand Event. But if it is possible to get at EditCommand Then also will do . But m not able to do it in any way. Do u have any idea abt that? Please Help meits very urgent.
I got the solution for gridview But i dont want to use grdiview. And alrteady my page is on Live so too many changes will be dangerous.
The problem is like ki it is taking too much time to open popup modal whn there are more than 100 rows. Because i have fill dropdown for 100 times for each row.
So that i go for this edititemtempalte column. But in that case first time textbox can find but whn i click on Edit I m not able to find drodown in adititemtemplate Column.
|
|
|
|
|
Hi,
I am trying to call a .Net class from flex by using third party tool webORB
, i installed weborb,i created a project having reference to this webORB
virtual directory created automatically , i gone through all the security
issues and devlopement and deployment process , but when i run my
application it works fine.
But when i export release build, then run my app, it throws error message:
faultCode:Client.Error.MessageSend faultString:'Send failed'
faultDetail:'Channel.Security.Error error Error #2048: Security sandbox
violation: http://localhost/test12/testweborb.swf cannot load data from
https://localhost/test12/weborb.aspx. url: '
https://localhost/test12/weborb.aspx''
giving error like this.
I copied crossdomain.xml to root url , but still i am getting this error .
I use weborb.dll library to get/post data from client-server
anybody help me!.
Thank a lot
mangrovecm
(-,-)am from VietNamese.
modified on Tuesday, November 4, 2008 6:02 AM
|
|
|
|
|
Did you ever find a solution to this post? I am having the same issue.
Could it have anything to do with the fact that we are going from http to https?
Any help would be appreciated.
|
|
|
|
|
Hello,
I have a edit button in the listview's items template. When I try to edit one of the listed record, it doesn't edit it in 1st click but it does in 2nd click. What could cause such problem? The other question is how I can go return to runtime view of the listview after editing an item.
Thanks.
<br />
Private Sub ListView1_ItemEditing(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewEditEventArgs) Handles ListView1.ItemEditing<br />
<br />
<br />
ListView1.EditIndex = e.NewEditIndex<br />
<br />
End Sub<br />
<br />
Private Sub ListView1_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewUpdateEventArgs) Handles ListView1.ItemUpdating<br />
<br />
Dim item As ListViewItem = ListView1.Items(e.ItemIndex)<br />
Dim myDescription As TextBox = CType(item.FindControl("Description"), TextBox)<br />
<br />
If String.IsNullOrEmpty(myDescription.Text) Then<br />
Return<br />
End If<br />
<br />
Dim Pnumber As Label = CType(item.FindControl("PropertyNumber"), Label)<br />
Dim Hindex As Label = CType(item.FindControl("HeadingIndex"), Label)<br />
<br />
Call UpdateRecord(CType(Pnumber.Text, Int64), CType(Hindex.Text, Int32), myDescription.Text)<br />
<br />
End Sub<br />
<br />
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
Hi,
I am developing a website, in which Admin fills out a form, in which he assigns tasks to members/users, which will display in the users page
according to their login id. Please note that i am using asp.net's Administer Website. Well, the problem is coming when a user logs in and goes
to MyTasks, this page comes out:
Server Error in '/TMIZ' Application.
--------------------------------------------------------------------------------
The Type property of parameter 'UserId' cannot be set when the DbType property is set.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: The Type property of parameter 'UserId' cannot be set when the DbType property is set.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[InvalidOperationException: The Type property of parameter 'UserId' cannot be set when the DbType property is set.]
System.Web.UI.WebControls.Parameter.GetValue(Object value, Boolean ignoreNullableTypeChanges) +1750595
System.Web.UI.WebControls.ParameterCollection.GetValues(HttpContext context, Control control) +301
System.Web.UI.WebControls.SqlDataSourceView.InitializeParameters(DbCommand command, ParameterCollection parameters, IDictionary exclusionList) +264
System.Web.UI.WebControls.SqlDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +472
System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +19
System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
System.Web.UI.WebControls.GridView.DataBind() +4
System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82
System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +72
System.Web.UI.Control.EnsureChildControls() +87
System.Web.UI.Control.PreRenderRecursiveInternal() +44
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Control.PreRenderRecursiveInternal() +171
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842
This is the query which i am providing in the datagrid's configure datasource "SELECT * FROM [Tasks] WHERE ([UserId] = @UserId)"
When I check the query and provide the uniqueidentifier of userid (copied from the database) it gives me the correct result. But the problem is coming when i execute it.
Please Help...!!! Thanks
|
|
|
|
|
Well, the error message explains the error quite clearly. I can tell even without seeing the code that you are specifying the parameter incorrectly. You can't set both the Type and the DbType property of the parameter.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
WOW! you got down voted for saying that. Probably it's the OP
5 ed
|
|
|
|
|
Dear Friends,
In my Windows 2003 server 64 bit. i have installed all required 64 bit software in that PC. Ms Office 2003 32 bit also.
While uploading excel file. it is getting error also.
Kindly advise me. what are the supporting files i have to install in my server. If it is available from any sites, please post that URL also.
If any prerequsites available for 64 bit, please post that details also.
Thanks & Regards
Haridas.R
Haridas.R
harisofttech@gmail.com
harisofttech@hotmail.com (online)
harizeenet@yahoo.co.in(online)
"Achievement is not a destination, its a journey "
|
|
|
|
|
Haridas.R wrote: While uploading excel file. it is getting error also.
What is the actual error you are getting? Just saying you are getting an error is not going to allow anyone to really help you. Be more descriptive of the error message and someone might be able to help you out
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi,
Does tableless html design means using DIVs with the help of CSS? Could someone point me in the right direction.
Regards,
Manu
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
modified on Saturday, November 1, 2008 9:42 AM
|
|
|
|
|
|
Blumen wrote: Does tableless html design means using DIVs with the help of CSS?
Almost. It rather means that you use CSS to style the html elements that are appropriate for what you want to do. That element could even be a table, if you actually want to display a table on the page.
Using tables to do layout once revolutionised the web design. However, that was about fifteen years ago, and the technology has moved on since then.
Here is a good example:
css Zen Garden: The Beauty in CSS Design[^]
I have found these useful for understanding how CSS works:
Selectutorial[^]
Floatutorial[^]
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Thank you Guffa
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
|
|
|
|
|
Adding to what Guffa said,
Pages designed using tables are slow to render than the one developed using DIVs and CSS. Many websites will have a main table which contains all the contents of that page. This is slow because browser can render the content only after getting the closing node which it gets at the end of page.
Use DIVs and CSS for design doesn't mean that you have to avoid tables completly. Tables should be used for what it is created for. If you are using tables for designing, use small tables instead of wrapping everything in a single table.
This[^] site has good beginer level tutorials.
|
|
|
|
|
Thank you
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
|
|
|
|
|
In addition to what the others have said, I've personally found going table-less involves a lot of pain, suffering and cursing at various browsers. I've attempted it many times and went back to tables, for sanity's sake. The new specs hold promise, but we'll have to see how each browser handles them.
Just my 2 cents.
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
Steve Echols wrote: I've personally found going table-less involves a lot of pain, suffering
Exactly. I tried to CSS based design but found that it was very difficult. Most of the websites still use table based design. I checked Microsoft home page using firebug, they have DIV based design.
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
|
|
|
|
|
Yeah, it's frustrating because I know it can be done, but it just seems like hypocrisy from the people saying you shouldn't use tables, and suggest instead that you use mind bending css hacks to accomplish the same thing. I choose the route that makes sense to me (grids) and what I know works, for right or wrong, and wait for the w3c get their act together (like that'll ever happen).
- S
50 cups of coffee and you know it's on!
A post a day, keeps the white coats away!
|
|
|
|
|
Steve Echols wrote: I choose the route that makes sense to me (grids) and what I know works
What is that route?
“The thing for you is a burial permit. You have only to speak and I will see that you get it.”
|
|
|
|
|
Hello,
I have a requirement to create new forms at run time based on user's request. Web site has a collection of web forms added to it already. The requirement is that the user can add a new page and personalize his new page using the controls collection avaiable to him in the design page. Later that new page should be saved and it should be displayed when requested. Is there a way to do it?
Thanks,
Pluto.
modified on Saturday, November 1, 2008 9:13 AM
|
|
|
|
|
it is better to generate the controls dynamically
than creating a new page alltogether
otherwise you have to compile a new page and it may add lot of complexity to your application
Thanks & Regards
Pete
|
|
|
|
|
I'd be inclined to store an XML representation of the page they want (or even the raw XHTML / HTML), and then use a single "User" page which is capable of rendering any of the "defined" pages....
C# has already designed away most of the tedium of C++.
|
|
|
|
|
I have a SharePoint Web Part that uses Office Interop to process Word documents. The Web Part functions well to enumerate the documents in the various document repositories but when documents are selected for Interop processing there are permission problems with accessing the Interop module (Microsoft.Office.Interop.Word.dll).
I tried to get around this by executing that portion of the processing using the RunWithElevatedPrivileges method.
I set COM privileges (both Access Permissions and Launch and Activation Permissions) for NETWORK SERVICE in the component services manager, but now I get a browser authentication error because the user has changed and has not been authenticated.
Does anyone know how I can get the browser to authenticate NETWORK SERVICE temporarily? I still need the original user to be authenticated because after processing the document the user needs to interact with the Web Part.
|
|
|
|