 |
|
|
 |
|
 |
Hello and Thanks for providing this wonderful little thing.
Though i need to to few more modifications and got stuck. I am using C# and SQL server 2005.
Initially i had a parent gridview with 4 child gridview. All i am trying is to make your code appear in the child gridviews like all-in-one tabular format.
How can i do this. Thanks in advance !
|
|
|
|
 |
|
 |
Please help me on this... i am in urgent need, Thank you !
|
|
|
|
 |
|
 |
hai,
Thank u for u'r article,which is usefull for us.
Now i want to access a single panel with multiple modalpopup,
|
|
|
|
 |
|
 |
Nice article ... when a modal popup shows in the background of popup we are getting a shaded region with some gray color how can we remove this bakc ground shared region and diplay like general javascript popup.
Ashok Nalam
|
|
|
|
 |
|
 |
I love your code mate keep up the good work!!!!!!!1
|
|
|
|
 |
|
 |
If this is happening to you, the following line in web.config can cause this
<xhtmlConformance mode="Legacy"/>
|
|
|
|
 |
|
 |
Hi TCartwright,
First, I must say that this is an excellent article, and it is a very refreshing change in calling the modalpopup from server side, instead of from the clientside.
I've seen lots of articles "clicking" the hidden button from client side, and there's quite a number of problems in getting the button.ClientID onto the Javascript, and even registering the scriptblock properly.
Ok...
What is "SCRUB"?
I've googled this, and whole load of strange results, such as household cleaners, TLC's "No Scrub" lyrics, etc...
Please help.
Thanks!
|
|
|
|
 |
|
 |
Thank you very much. You're demo project was very helpful in completing my project!
|
|
|
|
 |
|
 |
<b> I want to disply grid view as like excel sheet <u><big>with minimum empty rows </big></u> for enter into the data .then after clicking save button to be storde in databse which information are enter into the grid view <big><pre>plz refer frome urls or send code to mu mail id vishnumm@gmail.com</pre></big></b> thanks
|
|
|
|
 |
|
 |
articles like these save a lot of time and helped me in a huge way....
thanks a lot.
|
|
|
|
 |
|
|
 |
|
 |
Hi,
Thank you for great post. It helped me a lot. I am having on problem you might be able to help. I am using a formview and depending which button is clicked I am changing its mode to edit or insert
FormView1.DefaultMode = FormViewMode.Insert; //or Edit Depending on the button
UpdatePanel1.Update();
programmaticModalPopup.Show();
but the formview mode deos not change. Do you have any suggestions?
Thanks,
Mo
|
|
|
|
 |
|
 |
Try to use:
FormView1.ChangeMode(FormViewMode.Insert);
instead of:
FormView1.DefaultMode = FormViewMode.Insert;
[]'s!
Henrique
|
|
|
|
 |
|
 |
Thanks for your kindly EXP. Sharing
It's helpful ...
|
|
|
|
 |
|
 |
Thanks so much for sharing this I am a programmer that goes off examples in conjunction with technical books. And I found I was able to figure out the code with the help of documentation. To alter the way I needed. So, thanks so much for sharing...
One question I don't understand this code:
----------------------
<!--cheesy button for the modal popups target control-->
<asp:Button ID="btnHiddenCat" runat="Server" Style="display: none" />
**Is the above line becuase the module has to be associated with a button to ModalPopupExtender? So instead of a button doing a mpe="ID" they reversed it and put the onis on the mpe to detect the click event of the button?
------------------------
Button btnEditCat = sender as Button;
GridViewRow row = (GridViewRow)btnEditCat.NamingContainer;
***Is the sender always the HTML object being invoked or used? So the Button was clicked there for the sender is a button? But what I don't get is the next line. Is that saying okay what is the button contained in or wrapped in? Which is a gridviewrow? In otherwords it is getting the name of the wrapper using the button?
--------------------
//generic row data bound handler to add the DataItemIndex to the edit button's CommandArgument
if (e.Row.RowType == DataControlRowType.DataRow)
{
string editIndex = e.Row.DataItemIndex.ToString();
Button btn = e.Row.FindControl("btnEditCat") as Button;
if (btn != null) { btn.CommandArgument = editIndex; }
btn = e.Row.FindControl("btnDeleteCat") as Button;
if (btn != null) { btn.CommandArgument = editIndex; }
}
*** this I just plain do not get? What is a data Item index? and why do we need to assign it as anrguement to the two btns? I read docs it says it is an index but an index to what? And why is it important to assign it? It doesn't seem to being used in the onclick events?
I also tooked it out and it doesn't seem to impact functionality... Could you explain why it was included?
-------------------------------
thanks for any time you give to answer these questions. I am a person that learns kinda backwards way by example can't read technical books then implement. Need example to change then look up technical reasoning.
Yours in deepest gratitude,
Angela
|
|
|
|
 |
|
 |
i have asp:Panel ID="pnlPerson" runat="server" CssClass="modalBox" ScrollBars="Both"
I want to create a "sticky panel" that follows when you scroll. ? possible
any help?
thanks
-- modified at 1:22 Saturday 8th September, 2007
|
|
|
|
 |
|
 |
I am adapting this Modal popup to use with a current project, however when I click on the Edit button, nothing happens. It just reposts with the gridview and no popup. How can I fix this? I have looked at both of our code and don't see anything out of whack, but I am no expert at this. This is the first time I have used Ajax.
Candi
|
|
|
|
 |
|
 |
And you are using -id.show() method in the
btnEditxxxxx_Click(object sender, EventArgs e) ??
|
|
|
|
 |
|
 |
Yes. I was able to figure out the problem. I wasn't showing the update panel it is all contained in.
~Candi
|
|
|
|
 |
|
 |
after clicked the save button and back to the page the dropdownlist 'ddlBinding' was hidden! why?
|
|
|
|
 |
|
 |
It looks like paging in gridview do not work anymore. any ideas.
Thanks.
echen
|
|
|
|
 |
|
 |
Yeah it does not work on IE7 but it works on Firefox 2
|
|
|
|
 |
|
 |
i'm having same problem but how can this be fixed? thanks
|
|
|
|
 |
|
 |
I Have Ie 7.0 and paging is working for me... Did you make sure you declared a trigger event for the updatepanel and set your paging on as well as the page count? <Triggers> <asp:AsyncPostBackTrigger ControlID="GridView1" EventName="PageIndexChanging" /> </Triggers> <asp:gridview AllowPaging="True" PageSize="1" ..... Paging didn't work for me until I declared the trigger for the panel telling it to allow the postback.
|
|
|
|
 |