Click here to Skip to main content
15,918,889 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionDoubt on Cookie - asp.net 2.0 Pin
Karan_TN19-Apr-10 16:55
Karan_TN19-Apr-10 16:55 
AnswerRe: Doubt on Cookie - asp.net 2.0 [modified] Pin
Brij19-Apr-10 17:24
mentorBrij19-Apr-10 17:24 
GeneralRe: Doubt on Cookie - asp.net 2.0 Pin
Karan_TN19-Apr-10 18:21
Karan_TN19-Apr-10 18:21 
GeneralRe: Doubt on Cookie - asp.net 2.0 Pin
Brij19-Apr-10 19:12
mentorBrij19-Apr-10 19:12 
GeneralRe: Doubt on Cookie - asp.net 2.0 Pin
Abhijit Jana19-Apr-10 20:21
professionalAbhijit Jana19-Apr-10 20:21 
GeneralRe: Doubt on Cookie - asp.net 2.0 [modified] Pin
Brij19-Apr-10 20:41
mentorBrij19-Apr-10 20:41 
GeneralRe: Doubt on Cookie - asp.net 2.0 Pin
Abhijit Jana19-Apr-10 20:42
professionalAbhijit Jana19-Apr-10 20:42 
QuestionWeb user control , Grid edit item collapse .Cancel Pin
mark_me19-Apr-10 13:57
mark_me19-Apr-10 13:57 
Hi,
i am trying to use a web control previously developed. The web control has been created a while ago and contains 4 -5 textboxes and an update button. The control
validates all the data against specific regular expressions and displays a message if the data is invalid data otherwise stores in db. The control is working in 2-3 other pages.
I want to re-use the same control but in a gridedittemplate. I can re-use the control and it seems to be working but the only problem is that if validation of data
fails, the grid collapses (probably because it assumes that the function has completed. i want the grid to remain in expanded mode, until the value is saved...
I am implementing my functionality as:
in .ascx page (my parent page is a control too) , i have a grid with a template which defines the control as visible = false
in itemcommand.
i make the control visible , which works great but on update button of this child control i want the parent grid to remain expanded

'Code from ItemCommand

  		Case Telerik.Web.UI.GridItemType.EditFormItem ' in template edit form 
                        Dim item As Telerik.Web.UI.GridEditFormItem = e.Item
                            lblError.Visible = True
                            Try                                
                                Select Case LCase(e.CommandName)
                                    Case "performinsert"
                                        'add new                                         

                                        Session("ProductAttribute") = attribute
                                        item.FindControl("AttributeControl").Visible = True 'the control that i make visible. 
                                        e.Canceled = True 'so that the control remains visible, 
					'the control has some textboxes, validation and update button. on update button, this grid collapses to initial state.
					'i dont want it to collapse
                                        Exit Sub
                                    Case "update"
                                        'TODO: implement update functionality
                                End Select

An idea/ or code snippet on how to solve this issue will be appreciated..

Thanks and regards
QuestionBrowser "Back" Botton - how to control Pin
Abdul-Rhman Alsri19-Apr-10 10:08
Abdul-Rhman Alsri19-Apr-10 10:08 
AnswerRe: Browser "Back" Botton - how to control Pin
Not Active19-Apr-10 10:35
mentorNot Active19-Apr-10 10:35 
AnswerRe: Browser "Back" Botton - how to control Pin
Jamil Hallal21-Apr-10 3:17
professionalJamil Hallal21-Apr-10 3:17 
Questionalert message box in update panel Pin
ships_agr19-Apr-10 7:43
ships_agr19-Apr-10 7:43 
AnswerRe: alert message box in update panel Pin
Brij19-Apr-10 8:07
mentorBrij19-Apr-10 8:07 
GeneralRe: alert message box in update panel Pin
ships_agr20-Apr-10 5:28
ships_agr20-Apr-10 5:28 
QuestionServer Error in '/' Application. Pin
Abdul-Rhman Alsri19-Apr-10 7:18
Abdul-Rhman Alsri19-Apr-10 7:18 
AnswerRe: Server Error in '/' Application. Pin
Abhijit Jana19-Apr-10 11:03
professionalAbhijit Jana19-Apr-10 11:03 
QuestionAn Issue with Databind() for a GridView Pin
PDTUM19-Apr-10 6:09
PDTUM19-Apr-10 6:09 
AnswerRe: An Issue with Databind() for a GridView Pin
PDTUM19-Apr-10 8:00
PDTUM19-Apr-10 8:00 
QuestionAssign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 4:04
Karan_TN19-Apr-10 4:04 
AnswerRe: Assign themes programmatically - Master Pages Pin
daveyerwin19-Apr-10 5:01
daveyerwin19-Apr-10 5:01 
GeneralRe: Assign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 16:50
Karan_TN19-Apr-10 16:50 
GeneralRe: Assign themes programmatically - Master Pages Pin
daveyerwin20-Apr-10 5:11
daveyerwin20-Apr-10 5:11 
AnswerRe: Assign themes programmatically - Master Pages Pin
Abhijit Jana19-Apr-10 6:34
professionalAbhijit Jana19-Apr-10 6:34 
GeneralRe: Assign themes programmatically - Master Pages Pin
Karan_TN19-Apr-10 16:51
Karan_TN19-Apr-10 16:51 
GeneralRe: Assign themes programmatically - Master Pages Pin
Abhijit Jana19-Apr-10 20:41
professionalAbhijit Jana19-Apr-10 20:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.