it didn't come with an uninstall script
i tried removing the control from my toolbox but that had no effect on the error:
------------
Parser Error Message: Access is denied: 'eeeksoft.web.popupwin'.
Source Error:
Line 198: <add assembly="*"/>
-------------
eeeksoft.web.popupwin is the name...
does anyone have any clue about this.....
i downloaded a third-party popup window control and added it to my .net app. it was working ok and i moved on to another area of code and suddenly when i try to run my app i get an error generated out of the machine.config file referencing a line in the...
i wonder if this would duplicate the problem....
do a postback to the page but leave your grid unaffected (so now you've lost the dataset it is bound to)
and THEN try to response.write the cell data
also: did the cell you grabbed the data on.....did it have an edit template?
mine does...
wow...
now i'm really confused.
i can clearly see my grid on the page with the data
i also did a
Response.Write(oGridAttributes.Items(0).Cells(2).Text)
and still get ""
i guess i will have to chalk this one up as "unsolvable" and store the values in a hidden field.
damnit
i believe this is the source of my problem....
my grid is rendered as:
<Columns>
<asp:EditCommandColumn EditText="Edit"
Text="Cancel" UpdateText="Update" />
<asp:BoundColumn DataField="RequiredText"
ReadOnly="True"
HeaderText="Attribute">
</asp:BoundColumn>...
before i was going to do any coding into the application, i first ran the application and put a break at the point where i was going to need to access the data.
then....i switched to the immediate window to do a pre-development of the code as i was uncertain how to access the data and was going...
Dim oGridAttributes As DataGrid = CType(oRow.FindControl("dgAttributes"), DataGrid)
oGridAttributes is the name of the grid i'm trying to address....
actually i'm not sure why the above code works but when i do:
?ogridattributes.Items(0).Cells(1).Text
i get the right response:
"UserID"
for example,
even doing this:
?oGridAttributes.Items(0).Cells(2).FindControl("txtAttributeValue").Parent
yields:
Referenced object 'FindControl' has a value of 'Nothing'.
i can't get it to work.
i think the main problem is this:
Referenced object has a value of 'Nothing'.
it just doesn't know what
oGridAttributes.Items(0).Cells(2).FindControl("txtAttributeValue")
is
i don't know why
just can't get the syntax for it
when i try that....
i get the error "text" is not a member of "control"
in fact...if you type all the way the final "."
the drop down choices don't include "text"
actually....
i can't seem to get it to work.....
here's how it's set up:
<asp:TemplateColumn HeaderText="Value" ItemStyle-HorizontalAlign="Right">
<ItemTemplate>
<%# Container.DataItem("AttributeValue") %>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox Columns="20" id="txtAttributeValue"...
anyone know why.....
i have a grid on a page which has 3 colums and looks like this:
EDIT | 25067 | 78655
EDIT | 19876 | 23478
EDIT | 78545 | 87554
when i attempt to access the data from the grid like:
ogrid.Items(0).Cells(1).Text i get "25067"
which is what i would expect...
yes - as a default - when i look at the properties in sql server for that column, the default value for that column is (newid())
so....
that being the case.....
how would one build an insert statement?
are you saying....
your table has three columns or four?
if you have 4...won't it choke on the missing comma between "col3" and "GUIDCol"?
here's my insert statement:
INSERT INTO StackTab(recId, op_id, ctl_plan_no, rowguid)
VALUES (1, '1164618', '0520040256',???)
i have no idea what to put in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.